ChangeSet 1.2020.1.39, 2005/03/07 22:55:48-08:00, [EMAIL PROTECTED] [PATCH] USB: Ethernet/RNDIS build fix on PXA25x
This fixes a build problem with the RNDIS support on PXA25x processors. It's useful to help OpenZaurus win even bigger ... current OpenEmbedded builds already bundle this patch. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> drivers/usb/gadget/ether.c | 3 +++ 1 files changed, 3 insertions(+) diff -Nru a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c --- a/drivers/usb/gadget/ether.c 2005-03-08 16:52:31 -08:00 +++ b/drivers/usb/gadget/ether.c 2005-03-08 16:52:31 -08:00 @@ -2414,9 +2414,12 @@ "can't run RNDIS on %s\n", gadget->name); return -ENODEV; +#ifdef DEV_CONFIG_CDC + /* pxa25x only does CDC subset; often used with RNDIS */ } else if (cdc) { control_intf.bNumEndpoints = 0; /* FIXME remove endpoint from descriptor list */ +#endif } } #endif ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel