Re: whiteheat USB serial compile failure on PPC (2.6)

From: Meelis Roos
Date: Fri Mar 26 2004 - 07:37:51 EST


> 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@xxxxxxxx)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/