usb driver requries pdev?

Steven Blakeslee BlakesleeS at embeddedplanet.com
Wed Feb 4 05:24:46 EST 2004


I have been looking through the USB driver for the latest linuxppc_2_4_devel
tree at ppc.bkbits.net and I spotted something that looks like a bug.  I did
a search through the list and did not see any mention of it.

In drivers/usb/hcd.h  the declaration of pdev is in #ifdef CONFIG_PCI
#endif.

In drivers/usb/hcd.c  I see pdev used several times but it is not in #ifdef
CONFIG_PCI   #endif.

The make file forces hcd.c to be compiled when USB support is enabled but if
the board does not have PCI the compile will fail because of this.

Steve Blakeslee

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list