From: Aaro Koskinen Date: Fri, 28 Jan 2011 00:39:43 +0000 (-0800) Subject: arm: plat-omap: dma: make omap_dma_in_1510_mode() static X-Git-Tag: MMI-PSA29.97-13-9~20087^2~37^2~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c77675827206661943237fdc237abb7a79797d6b;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git arm: plat-omap: dma: make omap_dma_in_1510_mode() static Eliminates the following sparse warning: arch/arm/plat-omap/dma.c:137:5: warning: symbol 'omap_dma_in_1510_mode' was not declared. Should it be static? Signed-off-by: Aaro Koskinen Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index 85363084cc1a..2ec3b5d9f214 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c @@ -134,7 +134,7 @@ static inline void omap_enable_channel_irq(int lch); #ifdef CONFIG_ARCH_OMAP15XX /* Returns 1 if the DMA module is in OMAP1510-compatible mode, 0 otherwise */ -int omap_dma_in_1510_mode(void) +static int omap_dma_in_1510_mode(void) { return enable_1510_mode; }