Messages in this thread |  | | | Date | Thu, 18 Mar 2004 17:00:15 -0800 | | From | Greg KH <> | | Subject | Re: whiteheat USB serial compile failure on PPC (2.6) |
| |
On Thu, Mar 18, 2004 at 12:06:38PM +0200, Meelis Roos wrote: > Whiteheat USB serial driver doesn't compile on PPC in 2.6 (in fact, > hasn't compiled fo some time): > > drivers/usb/serial/whiteheat.c: In function `firm_setup_port': > drivers/usb/serial/whiteheat.c:1225: error: `CMSPAR' undeclared (first use in this function) > drivers/usb/serial/whiteheat.c:1225: error: (Each undeclared identifier is reported only once > drivers/usb/serial/whiteheat.c:1225: error: for each function it appears in.)
Bah, looks like PPC doesn't ever define CMSPAR :(
How about adding something like: #ifndef CMSPAR #define CMSPAR 0 #endif To the beginning of the driver like the cdc-acm.c driver does? If that works, care to send me a patch?
thanks,
greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |