Messages in this thread Patch in this message | | | Date | Fri, 26 Mar 2004 14:36:00 +0200 (EET) | From | Meelis Roos <> | Subject | Re: whiteheat USB serial compile failure on PPC (2.6) |
| |
> 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?
Yes, it compiles.
===== drivers/usb/serial/whiteheat.c 1.43 vs edited ===== --- 1.43/drivers/usb/serial/whiteheat.c Fri Jan 23 17:55:41 2004 +++ edited/drivers/usb/serial/whiteheat.c Fri Mar 26 14:10:26 2004 @@ -91,6 +91,10 @@ #include "whiteheat_fw.h" /* firmware for the ConnectTech WhiteHEAT device */ #include "whiteheat.h" /* WhiteHEAT specific commands */
+#ifndef CMSPAR +#define CMSPAR 0 +#endif + /* * Version Information */ -- Meelis Roos (mroos@linux.ee)
- 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/
| |