]> git.baikalelectronics.ru Git - kernel.git/commit
usb: Makefile: fix drivers/usb/phy/ Makefile entry
authorFelipe Balbi <balbi@ti.com>
Wed, 6 Mar 2013 14:00:45 +0000 (16:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Mar 2013 04:29:09 +0000 (12:29 +0800)
commit5c43652c8a2cd3a91d9844f9e4e359ce10d32126
treeace1595f86b88a05adae111b30c6a74c4ce6a5db
parent9ec0b092fef1a2d54ee77b81a0dc7cb75a9ec1e0
usb: Makefile: fix drivers/usb/phy/ Makefile entry

drivers/usb/phy/ should be compiled everytime
we have CONFIG_USB_OTG_UTILS enabled.

phy/ should've been part of the build process based
on CONFIG_USB_OTG_UTILS, don't know where I had my head
when I allowed CONFIG_USB_COMMON there.

In fact commit 732c12e7c55cadb15880623ae6b595cb130eef37
tried to fix a previous issue but it made things even
worse.

The real solution is to compile phy/ based on
CONFIG_USB_OTG_UTILS which gets selected by all PHY
drivers.

I only triggered the error recently after accepting a
patch which moved a bunch of code from otg/otg.c to
phy/phy.c and running 100 randconfig cycles.

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