aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-03-22 03:15:45 -0400
committerFelipe Balbi <balbi@ti.com>2013-03-27 07:18:20 -0400
commit60630c2eabd40fb119a1b88af364003d2915b370 (patch)
tree8f06ac313ddf3b176f258fe12af4d2910f40d0ec /drivers/usb
parente6667ef7ac27d61dd36b1215da1e9ac719dcb769 (diff)
usb: gadget: mv_u3d: drop ARCH dependency
this driver compiles fine everywhere which means we can use linux-next to compile it for us frequently. By dropping the arch dependency, we also ensure driver writers don't add virtual arch-depdencies to the driver by e.g. using the wrong headers. While at that, fix Marvell's USB3 PHY dependency, that's the driver which depends on CPU_MM3, not mv_u3d_core. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/Kconfig1
-rw-r--r--drivers/usb/phy/Kconfig2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index af5cc35063d9..261b1e305131 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -324,7 +324,6 @@ config USB_MV_UDC
324 324
325config USB_MV_U3D 325config USB_MV_U3D
326 tristate "MARVELL PXA2128 USB 3.0 controller" 326 tristate "MARVELL PXA2128 USB 3.0 controller"
327 depends on CPU_MMP3
328 help 327 help
329 MARVELL PXA2128 Processor series include a super speed USB3.0 device 328 MARVELL PXA2128 Processor series include a super speed USB3.0 device
330 controller, which support super speed USB peripheral. 329 controller, which support super speed USB peripheral.
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig
index 7e8fe0f0b8c6..372db48fa269 100644
--- a/drivers/usb/phy/Kconfig
+++ b/drivers/usb/phy/Kconfig
@@ -45,7 +45,7 @@ config ISP1301_OMAP
45 45
46config MV_U3D_PHY 46config MV_U3D_PHY
47 bool "Marvell USB 3.0 PHY controller Driver" 47 bool "Marvell USB 3.0 PHY controller Driver"
48 depends on USB_MV_U3D 48 depends on CPU_MMP3
49 help 49 help
50 Enable this to support Marvell USB 3.0 phy controller for Marvell 50 Enable this to support Marvell USB 3.0 phy controller for Marvell
51 SoC. 51 SoC.