Signed-off-by: Micael Henriksson <[EMAIL PROTECTED]>
---

 arch/arm/mach-s3c2410/mach-gta01.c |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/arch/arm/mach-s3c2410/mach-gta01.c 
b/arch/arm/mach-s3c2410/mach-gta01.c
index 9338964..a207f0e 100644
--- a/arch/arm/mach-s3c2410/mach-gta01.c
+++ b/arch/arm/mach-s3c2410/mach-gta01.c
@@ -73,6 +73,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>
 
@@ -366,14 +367,6 @@ static struct s3c2410fb_mach_info gta01_lcd_cfg __initdata 
= {
        .lpcsel         = ((0xCE6) & ~7) | 1<<4,
 };
 
-static struct i2c_board_info gta01_i2c_devs[] __initdata = {
-       {
-               I2C_BOARD_INFO("wm8753", 0x1a)
-       }, {
-               I2C_BOARD_INFO("neo1973_lm4857", 0x7c) 
-       }
-};
-
 static struct platform_device *gta01_devices[] __initdata = {
        &s3c_device_usb,
        &s3c_device_lcd,
@@ -724,6 +717,7 @@ static void __init gta01_machine_init(void)
 
        INIT_WORK(&gta01_udc_vbus_drawer.work, __gta01_udc_vbus_draw);
        s3c24xx_udc_set_platdata(&gta01_udc_cfg);
+       s3c_i2c0_set_platdata(NULL);
        set_s3c2410ts_info(&gta01_ts_cfg);
 
        /* Set LCD_RESET / XRES to high */
@@ -763,9 +757,6 @@ static void __init gta01_machine_init(void)
 
        platform_add_devices(gta01_devices, ARRAY_SIZE(gta01_devices));
 
-       i2c_register_board_info(0, gta01_i2c_devs, 
-               ARRAY_SIZE(gta01_i2c_devs));
-
        s3c2410_pm_init();
 
        set_irq_type(GTA01_IRQ_MODEM, IRQ_TYPE_EDGE_RISING);


Reply via email to