summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/usb.h
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2013-09-24 12:53:49 +0400
committerFelipe Balbi <balbi@ti.com>2013-10-04 18:29:10 +0400
commit67c8d0636445da59b27697f380a7e2089c5707eb (patch)
treec3d25cb982544ce66ebfa98834caaa1c6026acac /arch/arm/mach-omap2/usb.h
parentbd27fa44e13830d2baa278d5702e766380659cb3 (diff)
downloadlinux-67c8d0636445da59b27697f380a7e2089c5707eb.tar.xz
ARM: OMAP2+: omap-usb-host: Get rid of platform_data from struct usbhs_phy_data
The platform data bits can be inferred from the other members of struct usbhs_phy_data. So get rid of the platform_data member. Build the platform data for the PHY device in usbhs_init_phys() instead. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/usb.h')
-rw-r--r--arch/arm/mach-omap2/usb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/usb.h b/arch/arm/mach-omap2/usb.h
index e7261ebcf7b0..4ba2ae759895 100644
--- a/arch/arm/mach-omap2/usb.h
+++ b/arch/arm/mach-omap2/usb.h
@@ -58,7 +58,6 @@ struct usbhs_phy_data {
int reset_gpio;
int vcc_gpio;
bool vcc_polarity; /* 1 active high, 0 active low */
- void *platform_data;
};
extern void usb_musb_init(struct omap_musb_board_data *board_data);