diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
| -rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 15 | 
1 files changed, 2 insertions, 13 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 5d4328f19c0..218764c9377 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c @@ -199,20 +199,12 @@ static void __init omap_ldp_init_early(void)  	omap2_init_common_devices(NULL, NULL);  } -static struct twl4030_usb_data ldp_usb_data = { -	.usb_mode	= T2_USB_MODE_ULPI, -}; -  static struct twl4030_gpio_platform_data ldp_gpio_data = {  	.gpio_base	= OMAP_MAX_GPIO_LINES,  	.irq_base	= TWL4030_GPIO_IRQ_BASE,  	.irq_end	= TWL4030_GPIO_IRQ_END,  }; -static struct twl4030_madc_platform_data ldp_madc_data = { -	.irq_line	= 1, -}; -  static struct regulator_consumer_supply ldp_vmmc1_supply[] = {  	REGULATOR_SUPPLY("vmmc", "omap_hsmmc.0"),  }; @@ -253,12 +245,7 @@ static struct regulator_init_data ldp_vaux1 = {  };  static struct twl4030_platform_data ldp_twldata = { -	.irq_base	= TWL4030_IRQ_BASE, -	.irq_end	= TWL4030_IRQ_END, -  	/* platform_data for children goes here */ -	.madc		= &ldp_madc_data, -	.usb		= &ldp_usb_data,  	.vmmc1		= &ldp_vmmc1,  	.vaux1		= &ldp_vaux1,  	.gpio		= &ldp_gpio_data, @@ -267,6 +254,8 @@ static struct twl4030_platform_data ldp_twldata = {  static int __init omap_i2c_init(void)  { +	omap3_pmic_get_config(&ldp_twldata, +			  TWL_COMMON_PDATA_USB | TWL_COMMON_PDATA_MADC, 0);  	omap3_pmic_init("twl4030", &ldp_twldata);  	omap_register_i2c_bus(2, 400, NULL, 0);  	omap_register_i2c_bus(3, 400, NULL, 0);  |