diff options
author | Denis Efremov <yefremov.denis@gmail.com> | 2013-05-09 05:19:40 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-07-05 02:10:36 -0400 |
commit | 8004cbb481494c166596b0d469a6c777415e18f6 (patch) | |
tree | 5c7c2b283a9485971635bececb78aea662c785f5 /drivers/dma | |
parent | c1a9d391adc7feb219edd354deacb587b26cad06 (diff) |
dw_dmac: remove inline marking of EXPORT_SYMBOL functions
EXPORT_SYMBOL and inline directives are contradictory to each other.
The patch fixes this inconsistency.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Denis Efremov <yefremov.denis@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/dw_dmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index 2e5deaa82b60..724083d02b34 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers/dma/dw_dmac.c | |||
@@ -556,14 +556,14 @@ static void dwc_handle_error(struct dw_dma *dw, struct dw_dma_chan *dwc) | |||
556 | 556 | ||
557 | /* --------------------- Cyclic DMA API extensions -------------------- */ | 557 | /* --------------------- Cyclic DMA API extensions -------------------- */ |
558 | 558 | ||
559 | inline dma_addr_t dw_dma_get_src_addr(struct dma_chan *chan) | 559 | dma_addr_t dw_dma_get_src_addr(struct dma_chan *chan) |
560 | { | 560 | { |
561 | struct dw_dma_chan *dwc = to_dw_dma_chan(chan); | 561 | struct dw_dma_chan *dwc = to_dw_dma_chan(chan); |
562 | return channel_readl(dwc, SAR); | 562 | return channel_readl(dwc, SAR); |
563 | } | 563 | } |
564 | EXPORT_SYMBOL(dw_dma_get_src_addr); | 564 | EXPORT_SYMBOL(dw_dma_get_src_addr); |
565 | 565 | ||
566 | inline dma_addr_t dw_dma_get_dst_addr(struct dma_chan *chan) | 566 | dma_addr_t dw_dma_get_dst_addr(struct dma_chan *chan) |
567 | { | 567 | { |
568 | struct dw_dma_chan *dwc = to_dw_dma_chan(chan); | 568 | struct dw_dma_chan *dwc = to_dw_dma_chan(chan); |
569 | return channel_readl(dwc, DAR); | 569 | return channel_readl(dwc, DAR); |