summaryrefslogtreecommitdiff
path: root/arch/sh/boards/board-ap325rxa.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-08-07 07:52:18 +0400
committerPaul Mundt <lethal@linux-sh.org>2009-08-13 06:43:43 +0400
commitdbefd606a3b3634799b625f4900336e61c89e868 (patch)
tree8d93b16fbd6f2cb7fce2e668b4695945b6f4f7e7 /arch/sh/boards/board-ap325rxa.c
parentba3a17019181af5d6ab898760620c4e9916396c2 (diff)
downloadlinux-dbefd606a3b3634799b625f4900336e61c89e868.tar.xz
sh: fix i2c init order on ap325rxa V2
Convert the AP325RXA board code to register devices at arch_initcall() time instead of device_initcall(). This fix unbreaks pcf8563 RTC driver support. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/boards/board-ap325rxa.c')
-rw-r--r--arch/sh/boards/board-ap325rxa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c
index 7ffd1b4315bd..b9c88cc519e2 100644
--- a/arch/sh/boards/board-ap325rxa.c
+++ b/arch/sh/boards/board-ap325rxa.c
@@ -547,7 +547,7 @@ static int __init ap325rxa_devices_setup(void)
return platform_add_devices(ap325rxa_devices,
ARRAY_SIZE(ap325rxa_devices));
}
-device_initcall(ap325rxa_devices_setup);
+arch_initcall(ap325rxa_devices_setup);
/* Return the board specific boot mode pin configuration */
static int ap325rxa_mode_pins(void)