diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-qt2410.c')
-rw-r--r-- | arch/arm/mach-s3c2410/mach-qt2410.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c2410/mach-qt2410.c b/arch/arm/mach-s3c2410/mach-qt2410.c index c6a41593de21..9cc4253d7bbc 100644 --- a/arch/arm/mach-s3c2410/mach-qt2410.c +++ b/arch/arm/mach-s3c2410/mach-qt2410.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/init.h> | 29 | #include <linux/init.h> |
30 | #include <linux/platform_device.h> | 30 | #include <linux/platform_device.h> |
31 | #include <linux/serial_core.h> | 31 | #include <linux/serial_core.h> |
32 | #include <linux/mmc/protocol.h> | ||
33 | #include <linux/spi/spi.h> | 32 | #include <linux/spi/spi.h> |
34 | #include <linux/spi/spi_bitbang.h> | 33 | #include <linux/spi/spi_bitbang.h> |
35 | 34 | ||
@@ -331,11 +330,6 @@ static struct platform_device *qt2410_devices[] __initdata = { | |||
331 | &qt2410_led, | 330 | &qt2410_led, |
332 | }; | 331 | }; |
333 | 332 | ||
334 | static struct s3c24xx_board qt2410_board __initdata = { | ||
335 | .devices = qt2410_devices, | ||
336 | .devices_count = ARRAY_SIZE(qt2410_devices) | ||
337 | }; | ||
338 | |||
339 | static struct mtd_partition qt2410_nand_part[] = { | 333 | static struct mtd_partition qt2410_nand_part[] = { |
340 | [0] = { | 334 | [0] = { |
341 | .name = "U-Boot", | 335 | .name = "U-Boot", |
@@ -405,7 +399,6 @@ static void __init qt2410_map_io(void) | |||
405 | s3c24xx_init_io(qt2410_iodesc, ARRAY_SIZE(qt2410_iodesc)); | 399 | s3c24xx_init_io(qt2410_iodesc, ARRAY_SIZE(qt2410_iodesc)); |
406 | s3c24xx_init_clocks(12*1000*1000); | 400 | s3c24xx_init_clocks(12*1000*1000); |
407 | s3c24xx_init_uarts(smdk2410_uartcfgs, ARRAY_SIZE(smdk2410_uartcfgs)); | 401 | s3c24xx_init_uarts(smdk2410_uartcfgs, ARRAY_SIZE(smdk2410_uartcfgs)); |
408 | s3c24xx_set_board(&qt2410_board); | ||
409 | } | 402 | } |
410 | 403 | ||
411 | static void __init qt2410_machine_init(void) | 404 | static void __init qt2410_machine_init(void) |
@@ -432,6 +425,7 @@ static void __init qt2410_machine_init(void) | |||
432 | 425 | ||
433 | s3c2410_gpio_cfgpin(S3C2410_GPB5, S3C2410_GPIO_OUTPUT); | 426 | s3c2410_gpio_cfgpin(S3C2410_GPB5, S3C2410_GPIO_OUTPUT); |
434 | 427 | ||
428 | platform_add_devices(qt2410_devices, ARRAY_SIZE(qt2410_devices)); | ||
435 | s3c2410_pm_init(); | 429 | s3c2410_pm_init(); |
436 | } | 430 | } |
437 | 431 | ||