usb: phy: fix driver dependencies
authorFelipe Balbi <balbi@ti.com>
Tue, 10 Dec 2013 23:00:06 +0000 (17:00 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 05:31:24 +0000 (21:31 -0800)
commit7cd0c298f6e09476f474b7ae6c1ca876c5d7f881
tree62d3cb9af88cf2a4488d0823e38f63354a7a4853
parent8820784203ac24279be23a6e3d85d216c46d65ee
usb: phy: fix driver dependencies

both isp1301-omap and fsl_usb2_otg drivers
depend on usb_bus_start_enum() which is only
defined if CONFIG_USB != n. There is a problem,
however, where both those drivers could be
statically linked, while CONFIG_USB=m.

Fix the problem by fixing driver dependency.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/Kconfig