aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/3c59x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/3c59x.c')
-rw-r--r--drivers/net/3c59x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c
index b2563d384cf2..c56698402420 100644
--- a/drivers/net/3c59x.c
+++ b/drivers/net/3c59x.c
@@ -102,8 +102,8 @@ static int vortex_debug = 1;
102#include <linux/delay.h> 102#include <linux/delay.h>
103 103
104 104
105static char version[] __devinitdata = 105static const char version[] __devinitconst =
106DRV_NAME ": Donald Becker and others.\n"; 106 DRV_NAME ": Donald Becker and others.\n";
107 107
108MODULE_AUTHOR("Donald Becker <becker@scyld.com>"); 108MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
109MODULE_DESCRIPTION("3Com 3c59x/3c9xx ethernet driver "); 109MODULE_DESCRIPTION("3Com 3c59x/3c9xx ethernet driver ");
@@ -2908,7 +2908,7 @@ static void vortex_get_drvinfo(struct net_device *dev,
2908 strcpy(info->bus_info, pci_name(VORTEX_PCI(vp))); 2908 strcpy(info->bus_info, pci_name(VORTEX_PCI(vp)));
2909 } else { 2909 } else {
2910 if (VORTEX_EISA(vp)) 2910 if (VORTEX_EISA(vp))
2911 sprintf(info->bus_info, dev_name(vp->gendev)); 2911 strcpy(info->bus_info, dev_name(vp->gendev));
2912 else 2912 else
2913 sprintf(info->bus_info, "EISA 0x%lx %d", 2913 sprintf(info->bus_info, "EISA 0x%lx %d",
2914 dev->base_addr, dev->irq); 2914 dev->base_addr, dev->irq);