aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2440
diff options
context:
space:
mode:
authorWerner Almesberger <werner@openmoko.org>2008-11-19 17:11:21 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:21 +0000
commite641f88cc9c38500f53397005e4d3fd79bacb694 (patch)
tree0b7304adf863131884c4cdf9889e3daf4f0c6f3e /arch/arm/mach-s3c2440
parent3bd520be5e32e29aaf4762fad81d01e1fe6b1693 (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/arm/mach-s3c2440')
-rw-r--r--arch/arm/mach-s3c2440/mach-gta02.c2
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(&gta02_udc_cfg);
+ s3c_i2c0_set_platdata(NULL);
set_s3c2410ts_info(&gta02_ts_cfg);
mangle_glamo_res_by_system_rev();