summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw_dmac.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2012-09-21 14:05:44 +0200
committerVinod Koul <vinod.koul@linux.intel.com>2012-09-27 12:05:22 +0200
commitf52b36d27b96cba186328f5e77b12ee39376db13 (patch)
tree8d2210772a3234650ce0f3a47f07aaf102b62721 /drivers/dma/dw_dmac.c
parentDMA: PL330: return ENOMEM instead of 0 from pl330_alloc_chan_resources (diff)
downloadlinux-f52b36d27b96cba186328f5e77b12ee39376db13.tar.xz
linux-f52b36d27b96cba186328f5e77b12ee39376db13.zip
dw_dmac: mark dwc_dump_chan_regs as inline
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>
Diffstat (limited to 'drivers/dma/dw_dmac.c')
-rw-r--r--drivers/dma/dw_dmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c
index efbd16a296f1..e817610d97c9 100644
--- a/drivers/dma/dw_dmac.c
+++ b/drivers/dma/dw_dmac.c
@@ -211,7 +211,7 @@ static inline unsigned int dwc_fast_fls(unsigned long long v)
return 0;
}
-static void dwc_dump_chan_regs(struct dw_dma_chan *dwc)
+static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc)
{
dev_err(chan2dev(&dwc->chan),
" SAR: 0x%x DAR: 0x%x LLP: 0x%x CTL: 0x%x:%08x\n",