USB: Fix double-linking of drivers/usb/otg when ULPI is selected
commit179192d38e8906f00479ec944c15b685400232b0
authorBill Gatliff <bgat@billgatliff.com>
Fri, 18 Dec 2009 15:57:22 +0000 (18 09:57 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Dec 2009 19:34:10 +0000 (23 11:34 -0800)
tree15c85fb7ab009e165538d5f07d1d5b58b7b1b32a
parentff3b968ceeb73c037cf4759d21923943970f9a7a
USB: Fix double-linking of drivers/usb/otg when ULPI is selected

This patch corrects a problem where drivers/usb/otg is linked twice
if CONFIG_USB_ULPI is selected, resulting in a build error (symbol
conflict). The files in that directory are properly linked already
as part of CONFIG_USB, and need not be indicated specifically for
CONFIG_USB_ULPI.

Signed-off-by: Bill Gatliff <bgat@billgatliff.com>
Acked-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/Makefile