Commit e7509f6e authored by Magnus Damm's avatar Magnus Damm Committed by Simon Horman

ARM: shmobile: Remove __init from rcar_gen2_read_mode_pins()

Remove __init from rcar_gen2_read_mode_pins() to allow
it to be used after boot. For instance the R-Car Gen2
MD21 check is needed even in the case of CPU Hotplug.
Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent c2c97ec5
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#define MODEMR 0xe6160060 #define MODEMR 0xe6160060
u32 __init rcar_gen2_read_mode_pins(void) u32 rcar_gen2_read_mode_pins(void)
{ {
void __iomem *modemr = ioremap_nocache(MODEMR, 4); void __iomem *modemr = ioremap_nocache(MODEMR, 4);
u32 mode; u32 mode;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment