From 05b905b35da3371922747731edc008bd0d0ea2da Mon Sep 17 00:00:00 2001 From: Meelis Roos Date: Thu, 25 Mar 2004 20:32:39 -0800 Subject: [PATCH] [PATCH] USB: fix whiteheat USB serial compile failure on PPC > 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index cbdb7a686e889..c2af5bfc92782 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c @@ -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 */ -- 2.53.0