Commit 0e0575197259d5de13c51cac0b98336506fd2f85
Committed by
Sekhar Nori
1 parent
6f0c0580b7
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
ARM: davinci: usb: remove CONFIG_USB_MUSB_HOST etc
Remove usage of CONFIG_USB_MUSB_OTG, CONFIG_USB_MUSB_PERIPHERAL and CONFIG_USB_MUSB_HOST in arch/arm/mach-davinci/usb.c since these are not used anymore and set mode configuration by default to MUSB_OTG. Signed-off-by: Constantine Shulyupin <const@MakeLinux.com> [prakash.pm@ti.com: Tested on DM6446-EVM] Acked-by: Manjunathappa, Prakash <prakash.pm@ti.com> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Showing 1 changed file with 0 additions and 6 deletions Side-by-side Diff
arch/arm/mach-davinci/usb.c
... | ... | @@ -42,14 +42,8 @@ |
42 | 42 | }; |
43 | 43 | |
44 | 44 | static struct musb_hdrc_platform_data usb_data = { |
45 | -#if defined(CONFIG_USB_MUSB_OTG) | |
46 | 45 | /* OTG requires a Mini-AB connector */ |
47 | 46 | .mode = MUSB_OTG, |
48 | -#elif defined(CONFIG_USB_MUSB_PERIPHERAL) | |
49 | - .mode = MUSB_PERIPHERAL, | |
50 | -#elif defined(CONFIG_USB_MUSB_HOST) | |
51 | - .mode = MUSB_HOST, | |
52 | -#endif | |
53 | 47 | .clock = "usb", |
54 | 48 | .config = &musb_config, |
55 | 49 | }; |