lkml.org 
[lkml]   [2003]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Eliminate compile warning in winbond-840.c
Date
Fixes non-modular build warning:

CC drivers/net/tulip/winbond-840.o
drivers/net/tulip/winbond-840.c:149: warning: `version' defined but not used
--
vda

--- linux-2.6.0-test4/drivers/net/tulip/winbond-840.c.orig Sat Aug 23 02:53:03 2003
+++ linux-2.6.0-test4/drivers/net/tulip/winbond-840.c Mon Aug 25 14:33:25 2003
@@ -146,9 +146,11 @@
#include <asm/irq.h>

/* These identify the driver base version and may not be removed. */
+#ifdef MODULE
static char version[] __devinitdata =
KERN_INFO DRV_NAME ".c:v" DRV_VERSION " (2.4 port) " DRV_RELDATE " Donald Becker <becker@scyld.com>\n"
KERN_INFO " http://www.scyld.com/network/drivers.html\n";
+#endif

MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
MODULE_DESCRIPTION("Winbond W89c840 Ethernet driver");
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.037 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site