diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-31 12:14:40 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-15 18:40:26 -0500 |
commit | 3e1b776c2b9807d3af5945d5ece86dce9dfb0279 (patch) | |
tree | acad50c9e9e1b9a00c73f2d5aaec919408ba81ee /arch/arm/mach-s3c2440/mach-anubis.c | |
parent | a2205cd2cbfb8fb217e6036f08773a09d1b6d75e (diff) |
[ARM] S3C: Make i2c device definition common to plat-s3c
Make the device i2c0 common to plat-s3c and move the
definitions from arch/arm/plat-s3c24xx/devs.c
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2440/mach-anubis.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-anubis.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2440/mach-anubis.c b/arch/arm/mach-s3c2440/mach-anubis.c index 334379bdfc6e..a9bbc41c4568 100644 --- a/arch/arm/mach-s3c2440/mach-anubis.c +++ b/arch/arm/mach-s3c2440/mach-anubis.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #include <mach/regs-mem.h> | 40 | #include <mach/regs-mem.h> |
41 | #include <mach/regs-lcd.h> | 41 | #include <mach/regs-lcd.h> |
42 | #include <plat/nand.h> | 42 | #include <plat/nand.h> |
43 | #include <plat/iic.h> | ||
43 | 44 | ||
44 | #include <linux/mtd/mtd.h> | 45 | #include <linux/mtd/mtd.h> |
45 | #include <linux/mtd/nand.h> | 46 | #include <linux/mtd/nand.h> |
@@ -404,7 +405,7 @@ static struct platform_device *anubis_devices[] __initdata = { | |||
404 | &s3c_device_usb, | 405 | &s3c_device_usb, |
405 | &s3c_device_wdt, | 406 | &s3c_device_wdt, |
406 | &s3c_device_adc, | 407 | &s3c_device_adc, |
407 | &s3c_device_i2c, | 408 | &s3c_device_i2c0, |
408 | &s3c_device_rtc, | 409 | &s3c_device_rtc, |
409 | &s3c_device_nand, | 410 | &s3c_device_nand, |
410 | &anubis_device_ide0, | 411 | &anubis_device_ide0, |
@@ -468,6 +469,7 @@ static void __init anubis_map_io(void) | |||
468 | 469 | ||
469 | static void __init anubis_init(void) | 470 | static void __init anubis_init(void) |
470 | { | 471 | { |
472 | s3c_i2c0_set_platdata(NULL); | ||
471 | platform_add_devices(anubis_devices, ARRAY_SIZE(anubis_devices)); | 473 | platform_add_devices(anubis_devices, ARRAY_SIZE(anubis_devices)); |
472 | 474 | ||
473 | i2c_register_board_info(0, anubis_i2c_devs, | 475 | i2c_register_board_info(0, anubis_i2c_devs, |