dw_dmac: mark dwc_dump_lli inline
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Jul 2012 08:09:32 +0000 (11:09 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Mon, 16 Jul 2012 06:33:07 +0000 (12:03 +0530)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/dw_dmac.c

index 85ed5f20e027a9a077483506b12f014ecc7a93ed..600634982b4c0f93f65734ef18ad61e36e95e066 100644 (file)
@@ -411,7 +411,7 @@ static void dwc_scan_descriptors(struct dw_dma *dw, struct dw_dma_chan *dwc)
        spin_unlock_irqrestore(&dwc->lock, flags);
 }
 
-static void dwc_dump_lli(struct dw_dma_chan *dwc, struct dw_lli *lli)
+static inline void dwc_dump_lli(struct dw_dma_chan *dwc, struct dw_lli *lli)
 {
        dev_printk(KERN_CRIT, chan2dev(&dwc->chan),
                        "  desc: s0x%llx d0x%llx l0x%llx c0x%x:%x\n",