linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "René Scharfe" <l.s.r@web.de>
To: Jean Tourrilhes <jt@hpl.hp.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5.37 wavelan_cs compile error, warning fix
Date: Fri, 20 Sep 2002 19:14:43 +0200	[thread overview]
Message-ID: <200209201914.43965.l.s.r@web.de> (raw)

Hi,

this patch fixes a compile error and a warning about an unused
function in wavelan_cs.c. Compiles, untested.

René


--- linux-2.5.37/drivers/net/wireless/wavelan_cs.c	Fri Sep 20 18:22:38 2002
+++ linux/drivers/net/wireless/wavelan_cs.c	Fri Sep 20 19:00:11 2002
@@ -56,6 +56,7 @@
  *
  */
 
+#include <linux/types.h>
 #include <linux/ethtool.h>
 #include <asm/uaccess.h>
 #include "wavelan_cs.p.h"		/* Private header */
@@ -1860,6 +1861,7 @@
 }
 #endif	/* HISTOGRAM */
 
+#if WIRELESS_EXT <= 12
 static int netdev_ethtool_ioctl(struct net_device *dev, void *useraddr)
 {
 	u32 ethcmd;
@@ -1880,6 +1882,7 @@
 
 	return -EOPNOTSUPP;
 }
+#endif
 
 /*------------------------------------------------------------------*/
 /*


             reply	other threads:[~2002-09-20 17:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-20 17:14 René Scharfe [this message]
2002-09-20 22:45 ` [PATCH] 2.5.37 wavelan_cs compile error, warning fix Jean Tourrilhes

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=200209201914.43965.l.s.r@web.de \
    --to=l.s.r@web.de \
    --cc=jt@hpl.hp.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;
as well as URLs for NNTP newsgroup(s).