OSDN Git Service

powerpc: Fix build failure on 44x
authorPranith Kumar <bobby.prani@gmail.com>
Thu, 21 Aug 2014 13:04:31 +0000 (09:04 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:54 +0000 (23:14 +1000)
commita9303e1bd05751649e5408e521aab19380c7fd8a
tree519bff6994f3b7ed7631c31f67ce9516baf090da
parent297cf5025b3bda59e15d6ba1f84022ebd409925b
powerpc: Fix build failure on 44x

Fix the following build failure

drivers/built-in.o: In function `nhi_init':
nhi.c:(.init.text+0x63390): undefined reference to `ehci_init_driver'

by adding a dependency on USB_EHCI_HCD which supplies the ehci_init_driver().

Also we need to depend on USB_OHCI_HCD similarly

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Acked-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/44x/Kconfig