diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-02-26 10:19:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-26 22:21:57 -0800 |
commit | 7285484afd489417ec55fea16295dff7f3cabb5e (patch) | |
tree | ab30516bf0df7b469f51f23036b4c080cbcbc2f5 /drivers/net/yellowfin.c | |
parent | 9a3c3de71d585088048c8f0d3a0d12af1426d187 (diff) | |
download | linux-7285484afd489417ec55fea16295dff7f3cabb5e.tar.gz linux-7285484afd489417ec55fea16295dff7f3cabb5e.tar.bz2 linux-7285484afd489417ec55fea16295dff7f3cabb5e.zip |
yellowfin: fix non-constant printk warnings
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/yellowfin.c')
-rw-r--r-- | drivers/net/yellowfin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c index 2f1645dcb8c8..7477ffdcddb4 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/yellowfin.c @@ -107,9 +107,9 @@ static int gx_fix; #include <asm/io.h> /* These identify the driver base version and may not be removed. */ -static char version[] __devinitdata = -KERN_INFO DRV_NAME ".c:v1.05 1/09/2001 Written by Donald Becker <becker@scyld.com>\n" -KERN_INFO " (unofficial 2.4.x port, " DRV_VERSION ", " DRV_RELDATE ")\n"; +static const char version[] __devinitconst = + KERN_INFO DRV_NAME ".c:v1.05 1/09/2001 Written by Donald Becker <becker@scyld.com>\n" + KERN_INFO " (unofficial 2.4.x port, " DRV_VERSION ", " DRV_RELDATE ")\n"; MODULE_AUTHOR("Donald Becker <becker@scyld.com>"); MODULE_DESCRIPTION("Packet Engines Yellowfin G-NIC Gigabit Ethernet driver"); |