[PATCH, RFC 15/22] USB: EHCI: remove bogus #error

From
Alan Stern <stern@rowland.harvard.edu>
Date
2013-05-02 17:34:56
Also in
lkml
Reply to
Arnd Bergmann, 2013-05-02
On Thu, 2 May 2013, Arnd Bergmann wrote:
The EHCI host controller driver can be built standalone now,
without enabling any of the available bus glue drivers, so
there is not really a reason to error out here:
On the other hand, there's no reason to build the driver without any 
bus glue.  It wouldn't do anything.
drivers/usb/host/ehci-hcd.c:1303:2: error:
 #error "missing bus glue for ehci-hcd"  #error "missing bus glue for ehci-hcd"

The alternative would be to change the Kconfig code to build
the ehci-hcd module only if any of the symbols below are
in fact enabled.

Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Thread (74 messages) 74 messages, 23 authors, last reply 2013-05-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help