diff options
author | Ivan T. Ivanov <iivanov@mm-sol.com> | 2014-04-28 15:34:11 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-04-30 18:28:43 +0200 |
commit | 971232cf7c7a71ad3cbf433f592eee3ae1a578ac (patch) | |
tree | 646929ed73c9cd216800a5b423895018f71af6d0 /arch/arm/mach-msm/board-msm7x30.c | |
parent | usb: phy: msm: Fix checkpatch.pl warnings (diff) | |
download | linux-971232cf7c7a71ad3cbf433f592eee3ae1a578ac.tar.xz linux-971232cf7c7a71ad3cbf433f592eee3ae1a578ac.zip |
usb: phy: msm: Replace custom enum usb_mode_type with enum usb_dr_mode
Use enum usb_dr_mode and drop default usb_dr_mode from platform data.
USB DT bindings states: dr_mode: "...In case this attribute isn't
passed via DT, USB DRD controllers should default to OTG...",
so remove redundand field.
Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Acked-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-msm/board-msm7x30.c')
-rw-r--r-- | arch/arm/mach-msm/board-msm7x30.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/board-msm7x30.c b/arch/arm/mach-msm/board-msm7x30.c index 46de789ad3ae..0c4c200e1221 100644 --- a/arch/arm/mach-msm/board-msm7x30.c +++ b/arch/arm/mach-msm/board-msm7x30.c @@ -95,7 +95,7 @@ static int hsusb_phy_clk_reset(struct clk *phy_clk) static struct msm_otg_platform_data msm_otg_pdata = { .phy_init_seq = hsusb_phy_init_seq, - .mode = USB_PERIPHERAL, + .mode = USB_DR_MODE_PERIPHERAL, .otg_control = OTG_PHY_CONTROL, .link_clk_reset = hsusb_link_clk_reset, .phy_clk_reset = hsusb_phy_clk_reset, |