[ARM] 4566/1: s3c24xx: fix dma functions section mismatch
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-s3c2440 / dma.c
index f509f062e749bcd0b6357921058e4139d76c6ee3..0b1260827ac674e7c9f64a2abeb7639e6568822c 100644 (file)
@@ -190,7 +190,7 @@ static struct s3c24xx_dma_order __initdata s3c2440_dma_order = {
        },
 };
 
-static int s3c2440_dma_add(struct sys_device *sysdev)
+static int __init s3c2440_dma_add(struct sys_device *sysdev)
 {
        s3c2410_dma_init();
        s3c24xx_dma_order_set(&s3c2440_dma_order);