diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-31 16:14:52 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-10-31 16:17:42 +0000 |
commit | 093c8a04da1dff0899a2ac669f1824b6da94aebb (patch) | |
tree | e1b68e8b2f437af8f7ec7951c1b4574a4bd903cd /arch | |
parent | 3b870adeecafc819e3c822fe8c21f6e10d7140b0 (diff) |
[ARM] SMDK6410: Add i2c device
Add i2c bus 0 to the configuration
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c6410/mach-smdk6410.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6410/mach-smdk6410.c b/arch/arm/mach-s3c6410/mach-smdk6410.c index 609d5bd0812..d58c83d31a0 100644 --- a/arch/arm/mach-s3c6410/mach-smdk6410.c +++ b/arch/arm/mach-s3c6410/mach-smdk6410.c @@ -32,6 +32,7 @@ #include <asm/mach-types.h> #include <plat/regs-serial.h> +#include <plat/iic.h> #include <plat/s3c6410.h> #include <plat/clock.h> @@ -63,6 +64,7 @@ struct map_desc smdk6410_iodesc[] = {}; static struct platform_device *smdk6410_devices[] __initdata = { &s3c_device_hsmmc0, + &s3c_device_i2c0, }; extern void s3c64xx_init_io(struct map_desc *, int); @@ -76,6 +78,7 @@ static void __init smdk6410_map_io(void) static void __init smdk6410_machine_init(void) { + s3c_i2c0_set_platdata(NULL); platform_add_devices(smdk6410_devices, ARRAY_SIZE(smdk6410_devices)); } |