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-at2440evb.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-at2440evb.c')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-at2440evb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2440/mach-at2440evb.c b/arch/arm/mach-s3c2440/mach-at2440evb.c index 07b42a0207d1..55e07ae5ab8c 100644 --- a/arch/arm/mach-s3c2440/mach-at2440evb.c +++ b/arch/arm/mach-s3c2440/mach-at2440evb.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <mach/regs-mem.h> | 36 | #include <mach/regs-mem.h> |
37 | #include <mach/regs-lcd.h> | 37 | #include <mach/regs-lcd.h> |
38 | #include <plat/nand.h> | 38 | #include <plat/nand.h> |
39 | #include <plat/iic.h> | ||
39 | 40 | ||
40 | #include <linux/mtd/mtd.h> | 41 | #include <linux/mtd/mtd.h> |
41 | #include <linux/mtd/nand.h> | 42 | #include <linux/mtd/nand.h> |
@@ -166,7 +167,7 @@ static struct platform_device *at2440evb_devices[] __initdata = { | |||
166 | &s3c_device_usb, | 167 | &s3c_device_usb, |
167 | &s3c_device_wdt, | 168 | &s3c_device_wdt, |
168 | &s3c_device_adc, | 169 | &s3c_device_adc, |
169 | &s3c_device_i2c, | 170 | &s3c_device_i2c0, |
170 | &s3c_device_rtc, | 171 | &s3c_device_rtc, |
171 | &s3c_device_nand, | 172 | &s3c_device_nand, |
172 | &at2440evb_device_eth, | 173 | &at2440evb_device_eth, |
@@ -183,6 +184,7 @@ static void __init at2440evb_map_io(void) | |||
183 | 184 | ||
184 | static void __init at2440evb_init(void) | 185 | static void __init at2440evb_init(void) |
185 | { | 186 | { |
187 | s3c_i2c0_set_platdata(NULL); | ||
186 | platform_add_devices(at2440evb_devices, ARRAY_SIZE(at2440evb_devices)); | 188 | platform_add_devices(at2440evb_devices, ARRAY_SIZE(at2440evb_devices)); |
187 | } | 189 | } |
188 | 190 | ||