]> git.baikalelectronics.ru Git - kernel.git/commit
USB: POWERPC: ehci: fix ppc build
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 21 Feb 2008 19:49:13 +0000 (22:49 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:38:56 +0000 (15:38 -0800)
commitc3ad33f6eb46cd62dc86b08f02dcd7e89a3b2a94
tree30db2f10d6832d1795238173fab1671e01f88cea
parent91366d928cad6367abfe419c3833aa9b93cdf55d
USB: POWERPC: ehci: fix ppc build

Currently, this setup:
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_HCD_PPC_OF=y

Will fail to build:
  CC      drivers/usb/host/ehci-hcd.o
drivers/usb/host/ehci-hcd.c:1018:2: error: #error "missing bus glue for ehci-hcd"
make[3]: *** [drivers/usb/host/ehci-hcd.o] Error 1

ehci-hcd.c actually contains OF_PLATFORM_DRIVER glue, so error is bogus.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hcd.c