From 22107a4d66ffbe4518a5e19e0a34d31514a4e9d1 Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <dvlasenk@redhat.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] drivers/dma/dw/core.c: Deinline dwc_chan_disable, save 112 bytes

This function compiles to 56 bytes of machine code.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
---
 drivers/dma/dw/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/dw/core.c b/drivers/dma/dw/core.c
index bedce03..c516fe0 100644
--- a/drivers/dma/dw/core.c
+++ b/drivers/dma/dw/core.c
@@ -189,7 +189,7 @@ static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc)
 		channel_readl(dwc, CTL_LO));
 }
 
-static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc)
+static void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc)
 {
 	channel_clear_bit(dw, CH_EN, dwc->mask);
 	while (dma_readl(dw, CH_EN) & dwc->mask)
-- 
2.1.0

