mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Meelis Roos <mroos@linux.ee>
To: Greg KH <greg@kroah.com>
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: whiteheat USB serial compile failure on PPC (2.6)
Date: Fri, 26 Mar 2004 14:36:00 +0200 (EET)	[thread overview]
Message-ID: <Pine.GSO.4.44.0403261429520.2460-100000@math.ut.ee> (raw)
In-Reply-To: <20040319010015.GE19053@kroah.com>

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


  parent reply	other threads:[~2004-03-26 12:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 10:06 Meelis Roos
2004-03-19  1:00 ` Greg KH
2004-03-19  1:32   ` Paul Mackerras
2004-03-26 12:36   ` Meelis Roos [this message]
2004-03-26 20:30     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.44.0403261429520.2460-100000@math.ut.ee \
    --to=mroos@linux.ee \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®