]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6575db4ba29d1c62a7a107a3e81d51bb35ccf77
tree62d3cb9af88cf2a4488d0823e38f63354a7a4853
parent4f2e54dcbeacc3028b1ee1c7f1793f1c647b1e7e
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