summaryrefslogtreecommitdiff
path: root/linux/arch/sh/boards/board-ap325rxa.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/arch/sh/boards/board-ap325rxa.c')
-rw-r--r--linux/arch/sh/boards/board-ap325rxa.c6
1 files changed, 3 insertions, 3 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)