aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/mach-herring.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-s5pv210/mach-herring.c')
-rw-r--r--arch/arm/mach-s5pv210/mach-herring.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv210/mach-herring.c b/arch/arm/mach-s5pv210/mach-herring.c
index 606d70b..f4813ba 100644
--- a/arch/arm/mach-s5pv210/mach-herring.c
+++ b/arch/arm/mach-s5pv210/mach-herring.c
@@ -2739,6 +2739,7 @@ EXPORT_SYMBOL(s3c_config_sleep_gpio);
static struct platform_device *herring_devices[] __initdata = {
+ &s5p_device_onenand,
#ifdef CONFIG_RTC_DRV_S3C
&s5p_device_rtc,
#endif
@@ -2855,7 +2856,7 @@ static void __init herring_map_io(void)
s5pv210_reserve_bootmem();
#ifdef CONFIG_MTD_ONENAND
- s3c_device_onenand.name = "s5pc110-onenand";
+ s5p_device_onenand.name = "s5pc110-onenand";
#endif
}
@@ -3089,7 +3090,9 @@ static void __init herring_machine_init(void)
#ifdef CONFIG_S5PV210_SETUP_SDHCI
s3c_sdhci_set_platdata();
#endif
-
+#ifdef CONFIG_BATTERY_S3C
+ &sec_device_battery,
+#endif
#if defined(CONFIG_HAVE_PWM)
smdk_backlight_register();
#endif