diff options
Diffstat (limited to 'arch/arm/mach-s3c2443/mach-smdk2443.c')
-rw-r--r-- | arch/arm/mach-s3c2443/mach-smdk2443.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-s3c2443/mach-smdk2443.c b/arch/arm/mach-s3c2443/mach-smdk2443.c index e82aaff7dee4..b71ee53c2865 100644 --- a/arch/arm/mach-s3c2443/mach-smdk2443.c +++ b/arch/arm/mach-s3c2443/mach-smdk2443.c | |||
@@ -106,21 +106,16 @@ static struct platform_device *smdk2443_devices[] __initdata = { | |||
106 | &s3c_device_i2c, | 106 | &s3c_device_i2c, |
107 | }; | 107 | }; |
108 | 108 | ||
109 | static struct s3c24xx_board smdk2443_board __initdata = { | ||
110 | .devices = smdk2443_devices, | ||
111 | .devices_count = ARRAY_SIZE(smdk2443_devices) | ||
112 | }; | ||
113 | |||
114 | static void __init smdk2443_map_io(void) | 109 | static void __init smdk2443_map_io(void) |
115 | { | 110 | { |
116 | s3c24xx_init_io(smdk2443_iodesc, ARRAY_SIZE(smdk2443_iodesc)); | 111 | s3c24xx_init_io(smdk2443_iodesc, ARRAY_SIZE(smdk2443_iodesc)); |
117 | s3c24xx_init_clocks(12000000); | 112 | s3c24xx_init_clocks(12000000); |
118 | s3c24xx_init_uarts(smdk2443_uartcfgs, ARRAY_SIZE(smdk2443_uartcfgs)); | 113 | s3c24xx_init_uarts(smdk2443_uartcfgs, ARRAY_SIZE(smdk2443_uartcfgs)); |
119 | s3c24xx_set_board(&smdk2443_board); | ||
120 | } | 114 | } |
121 | 115 | ||
122 | static void __init smdk2443_machine_init(void) | 116 | static void __init smdk2443_machine_init(void) |
123 | { | 117 | { |
118 | platform_add_devices(smdk2443_devices, ARRAY_SIZE(smdk2443_devices)); | ||
124 | smdk_machine_init(); | 119 | smdk_machine_init(); |
125 | } | 120 | } |
126 | 121 | ||