summaryrefslogtreecommitdiff
path: root/linux/arch/sh/boards
diff options
context:
space:
mode:
Diffstat (limited to 'linux/arch/sh/boards')
-rw-r--r--linux/arch/sh/boards/board-ap325rxa.c6
-rw-r--r--linux/arch/sh/boards/mach-migor/setup.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/linux/arch/sh/boards/board-ap325rxa.c b/linux/arch/sh/boards/board-ap325rxa.c
index 21469489d..48ab77ea0 100644
--- a/linux/arch/sh/boards/board-ap325rxa.c
+++ b/linux/arch/sh/boards/board-ap325rxa.c
@@ -359,8 +359,8 @@ static void ap325rxa_camera_del(struct soc_camera_link *icl)
return;
platform_device_unregister(&camera_device);
- memset(&migor_camera_device.dev.kobj, 0,
- sizeof(migor_camera_device.dev.kobj));
+ memset(&camera_device.dev.kobj, 0,
+ sizeof(camera_device.dev.kobj));
}
#endif /* CONFIG_I2C */
@@ -581,7 +581,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)
diff --git a/linux/arch/sh/boards/mach-migor/setup.c b/linux/arch/sh/boards/mach-migor/setup.c
index f70f4644d..f9b2e4df3 100644
--- a/linux/arch/sh/boards/mach-migor/setup.c
+++ b/linux/arch/sh/boards/mach-migor/setup.c
@@ -608,7 +608,7 @@ static int __init migor_devices_setup(void)
return platform_add_devices(migor_devices, ARRAY_SIZE(migor_devices));
}
-__initcall(migor_devices_setup);
+arch_initcall(migor_devices_setup);
/* Return the board specific boot mode pin configuration */
static int migor_mode_pins(void)