ARM: shmobile: r8a7740: Make r8a7740_meram_workaround() __init
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 15 Apr 2014 12:33:58 +0000 (14:33 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 16 Apr 2014 01:01:49 +0000 (10:01 +0900)
It's called from eva_init() only, which is __init

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-r8a7740.c

index cba3a07a97c22b2f8fd7aa10891a6fe6dbaa84c2..a177a7b3bdbd9bfecb281b90a5dc1087a7492ad3 100644 (file)
@@ -765,7 +765,7 @@ static struct platform_device *r8a7740_late_devices[] __initdata = {
  *     "Media RAM (MERAM)" on r8a7740 documentation
  */
 #define MEBUFCNTR      0xFE950098
-void r8a7740_meram_workaround(void)
+void __init r8a7740_meram_workaround(void)
 {
        void __iomem *reg;