diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-01-28 16:50:04 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-29 11:35:56 -0500 |
commit | a0cb12e2ed61f4c1bb586268ca43b27dd8ce959e (patch) | |
tree | 200f78680fc9557785b9047b92d1a15aede62795 | |
parent | 3f6dd4feda71760c41336963c17b594872346654 (diff) |
usb: musb: add generic usb phy dependencies
Multiple musb glue drivers depend on the generic usb phy support,
but fail to list it as a dependency in Kconfig. This results
in build erros like:
drivers/built-in.o: In function `am35x_remove':
:(.text+0xadacc): undefined reference to `usb_phy_generic_unregister'
drivers/built-in.o: In function `am35x_probe':
:(.text+0xae1c8): undefined reference to `usb_phy_generic_register'
:(.text+0xae244): undefined reference to `usb_phy_generic_unregister'
drivers/built-in.o: In function `jz4740_remove':
:(.text+0xaf648): undefined reference to `usb_phy_generic_unregister'
drivers/built-in.o: In function `jz4740_musb_init':
:(.text+0xaf694): undefined reference to `usb_phy_generic_register'
This adds the ones that are missing.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/musb/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index b005010240e5..26c835f1b726 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig | |||
@@ -63,11 +63,13 @@ comment "Platform Glue Layer" | |||
63 | config USB_MUSB_DAVINCI | 63 | config USB_MUSB_DAVINCI |
64 | tristate "DaVinci" | 64 | tristate "DaVinci" |
65 | depends on ARCH_DAVINCI_DMx | 65 | depends on ARCH_DAVINCI_DMx |
66 | depends on NOP_USB_XCEIV | ||
66 | depends on BROKEN | 67 | depends on BROKEN |
67 | 68 | ||
68 | config USB_MUSB_DA8XX | 69 | config USB_MUSB_DA8XX |
69 | tristate "DA8xx/OMAP-L1x" | 70 | tristate "DA8xx/OMAP-L1x" |
70 | depends on ARCH_DAVINCI_DA8XX | 71 | depends on ARCH_DAVINCI_DA8XX |
72 | depends on NOP_USB_XCEIV | ||
71 | depends on BROKEN | 73 | depends on BROKEN |
72 | 74 | ||
73 | config USB_MUSB_TUSB6010 | 75 | config USB_MUSB_TUSB6010 |
@@ -83,6 +85,7 @@ config USB_MUSB_OMAP2PLUS | |||
83 | config USB_MUSB_AM35X | 85 | config USB_MUSB_AM35X |
84 | tristate "AM35x" | 86 | tristate "AM35x" |
85 | depends on ARCH_OMAP | 87 | depends on ARCH_OMAP |
88 | depends on NOP_USB_XCEIV | ||
86 | 89 | ||
87 | config USB_MUSB_DSPS | 90 | config USB_MUSB_DSPS |
88 | tristate "TI DSPS platforms" | 91 | tristate "TI DSPS platforms" |
@@ -93,6 +96,7 @@ config USB_MUSB_DSPS | |||
93 | config USB_MUSB_BLACKFIN | 96 | config USB_MUSB_BLACKFIN |
94 | tristate "Blackfin" | 97 | tristate "Blackfin" |
95 | depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523) | 98 | depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523) |
99 | depends on NOP_USB_XCEIV | ||
96 | 100 | ||
97 | config USB_MUSB_UX500 | 101 | config USB_MUSB_UX500 |
98 | tristate "Ux500 platforms" | 102 | tristate "Ux500 platforms" |
@@ -100,6 +104,7 @@ config USB_MUSB_UX500 | |||
100 | 104 | ||
101 | config USB_MUSB_JZ4740 | 105 | config USB_MUSB_JZ4740 |
102 | tristate "JZ4740" | 106 | tristate "JZ4740" |
107 | depends on NOP_USB_XCEIV | ||
103 | depends on MACH_JZ4740 || COMPILE_TEST | 108 | depends on MACH_JZ4740 || COMPILE_TEST |
104 | depends on USB_MUSB_GADGET | 109 | depends on USB_MUSB_GADGET |
105 | depends on USB_OTG_BLACKLIST_HUB | 110 | depends on USB_OTG_BLACKLIST_HUB |