From f2c10d6c669e5b792c48e86da37ec7fde0a2e302 Mon Sep 17 00:00:00 2001 From: Krzysztof Helt Date: Tue, 4 Sep 2007 17:19:33 +0100 Subject: [ARM] 4566/1: s3c24xx: fix dma functions section mismatch This patch removes section mismatches related to DMA functions. Signed-off-by: Krzysztof Helt Acked-by: Ben Dooks Signed-off-by: Russell King --- arch/arm/mach-s3c2412/dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/mach-s3c2412') diff --git a/arch/arm/mach-s3c2412/dma.c b/arch/arm/mach-s3c2412/dma.c index 4b9425c1bf72..53c1d5bbce19 100644 --- a/arch/arm/mach-s3c2412/dma.c +++ b/arch/arm/mach-s3c2412/dma.c @@ -144,7 +144,7 @@ static struct s3c24xx_dma_selection __initdata s3c2412_dma_sel = { .map_size = ARRAY_SIZE(s3c2412_dma_mappings), }; -static int s3c2412_dma_add(struct sys_device *sysdev) +static int __init s3c2412_dma_add(struct sys_device *sysdev) { s3c2410_dma_init(); return s3c24xx_dma_init_map(&s3c2412_dma_sel); -- cgit v1.2.3