diff options
author | Werner Almesberger <werner@openmoko.org> | 2008-11-19 17:11:21 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:11:21 +0000 |
commit | e641f88cc9c38500f53397005e4d3fd79bacb694 (patch) | |
tree | 0b7304adf863131884c4cdf9889e3daf4f0c6f3e /arch | |
parent | 3bd520be5e32e29aaf4762fad81d01e1fe6b1693 (diff) |
fix-i2c0-platdata.patch
i2c0 platform data wasn't initialized, which caused driver registration
to fail, and kept many other peripherals from initializing.
Signed-off-by: Werner Almesberger <werner@openmoko.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-gta02.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c index b2b1c6bad60..8420348ae84 100644 --- a/arch/arm/mach-s3c2440/mach-gta02.c +++ b/arch/arm/mach-s3c2440/mach-gta02.c @@ -76,6 +76,7 @@ #include <plat/cpu.h> #include <plat/pm.h> #include <plat/udc.h> +#include <plat/iic.h> #include <asm/plat-s3c24xx/neo1973.h> #include <mach/neo1973-pm-gsm.h> @@ -1609,6 +1610,7 @@ static void __init gta02_machine_init(void) s3c2410_gpio_cfgpin(S3C2410_GPD13, S3C2410_GPIO_OUTPUT); s3c24xx_udc_set_platdata(>a02_udc_cfg); + s3c_i2c0_set_platdata(NULL); set_s3c2410ts_info(>a02_ts_cfg); mangle_glamo_res_by_system_rev(); |