tulip: get rid of warning for non-const string literal
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
f11c179eea
commit
03f54b3dec
@@ -479,7 +479,7 @@
|
|||||||
|
|
||||||
#include "de4x5.h"
|
#include "de4x5.h"
|
||||||
|
|
||||||
static const char version[] __devinitdata =
|
static const char version[] __devinitconst =
|
||||||
KERN_INFO "de4x5.c:V0.546 2001/02/22 davies@maniac.ultranet.com\n";
|
KERN_INFO "de4x5.c:V0.546 2001/02/22 davies@maniac.ultranet.com\n";
|
||||||
|
|
||||||
#define c_char const char
|
#define c_char const char
|
||||||
|
@@ -288,7 +288,7 @@ enum dmfe_CR6_bits {
|
|||||||
|
|
||||||
/* Global variable declaration ----------------------------- */
|
/* Global variable declaration ----------------------------- */
|
||||||
static int __devinitdata printed_version;
|
static int __devinitdata printed_version;
|
||||||
static char version[] __devinitdata =
|
static const char version[] __devinitconst =
|
||||||
KERN_INFO DRV_NAME ": Davicom DM9xxx net driver, version "
|
KERN_INFO DRV_NAME ": Davicom DM9xxx net driver, version "
|
||||||
DRV_VERSION " (" DRV_RELDATE ")\n";
|
DRV_VERSION " (" DRV_RELDATE ")\n";
|
||||||
|
|
||||||
|
@@ -200,7 +200,7 @@ enum uli526x_CR6_bits {
|
|||||||
|
|
||||||
/* Global variable declaration ----------------------------- */
|
/* Global variable declaration ----------------------------- */
|
||||||
static int __devinitdata printed_version;
|
static int __devinitdata printed_version;
|
||||||
static char version[] __devinitdata =
|
static const char version[] __devinitconst =
|
||||||
KERN_INFO DRV_NAME ": ULi M5261/M5263 net driver, version "
|
KERN_INFO DRV_NAME ": ULi M5261/M5263 net driver, version "
|
||||||
DRV_VERSION " (" DRV_RELDATE ")\n";
|
DRV_VERSION " (" DRV_RELDATE ")\n";
|
||||||
|
|
||||||
|
@@ -139,8 +139,9 @@ static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
|
|||||||
#define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer.*/
|
#define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer.*/
|
||||||
|
|
||||||
/* These identify the driver base version and may not be removed. */
|
/* These identify the driver base version and may not be removed. */
|
||||||
static const char version[] __initdata =
|
static const char version[] __initconst =
|
||||||
KERN_INFO DRV_NAME ".c:v" DRV_VERSION " (2.4 port) " DRV_RELDATE " Donald Becker <becker@scyld.com>\n"
|
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";
|
KERN_INFO " http://www.scyld.com/network/drivers.html\n";
|
||||||
|
|
||||||
MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
|
MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
|
||||||
|
Reference in New Issue
Block a user