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-s3c2443/mach-smdk2443.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-s3c2443/mach-smdk2443.c')
-rw-r--r-- | arch/arm/mach-s3c2443/mach-smdk2443.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2443/mach-smdk2443.c b/arch/arm/mach-s3c2443/mach-smdk2443.c index 815a3bd1d37b..039a46243105 100644 --- a/arch/arm/mach-s3c2443/mach-smdk2443.c +++ b/arch/arm/mach-s3c2443/mach-smdk2443.c | |||
@@ -37,6 +37,7 @@ | |||
37 | 37 | ||
38 | #include <mach/idle.h> | 38 | #include <mach/idle.h> |
39 | #include <mach/fb.h> | 39 | #include <mach/fb.h> |
40 | #include <plat/iic.h> | ||
40 | 41 | ||
41 | #include <plat/s3c2410.h> | 42 | #include <plat/s3c2410.h> |
42 | #include <plat/s3c2440.h> | 43 | #include <plat/s3c2440.h> |
@@ -103,7 +104,7 @@ static struct s3c2410_uartcfg smdk2443_uartcfgs[] __initdata = { | |||
103 | 104 | ||
104 | static struct platform_device *smdk2443_devices[] __initdata = { | 105 | static struct platform_device *smdk2443_devices[] __initdata = { |
105 | &s3c_device_wdt, | 106 | &s3c_device_wdt, |
106 | &s3c_device_i2c, | 107 | &s3c_device_i2c0, |
107 | &s3c_device_hsmmc0, | 108 | &s3c_device_hsmmc0, |
108 | }; | 109 | }; |
109 | 110 | ||
@@ -116,6 +117,7 @@ static void __init smdk2443_map_io(void) | |||
116 | 117 | ||
117 | static void __init smdk2443_machine_init(void) | 118 | static void __init smdk2443_machine_init(void) |
118 | { | 119 | { |
120 | s3c_i2c0_set_platdata(NULL); | ||
119 | platform_add_devices(smdk2443_devices, ARRAY_SIZE(smdk2443_devices)); | 121 | platform_add_devices(smdk2443_devices, ARRAY_SIZE(smdk2443_devices)); |
120 | smdk_machine_init(); | 122 | smdk_machine_init(); |
121 | } | 123 | } |