提交 86de79b6 编写于 作者: S Stephen Hemminger 提交者: David S. Miller

3c59x: get rid of non-const printk warnings

Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 81b700b1
...@@ -102,8 +102,8 @@ static int vortex_debug = 1; ...@@ -102,8 +102,8 @@ static int vortex_debug = 1;
#include <linux/delay.h> #include <linux/delay.h>
static char version[] __devinitdata = static const char version[] __devinitconst =
DRV_NAME ": Donald Becker and others.\n"; DRV_NAME ": Donald Becker and others.\n";
MODULE_AUTHOR("Donald Becker <becker@scyld.com>"); MODULE_AUTHOR("Donald Becker <becker@scyld.com>");
MODULE_DESCRIPTION("3Com 3c59x/3c9xx ethernet driver "); MODULE_DESCRIPTION("3Com 3c59x/3c9xx ethernet driver ");
...@@ -2908,7 +2908,7 @@ static void vortex_get_drvinfo(struct net_device *dev, ...@@ -2908,7 +2908,7 @@ static void vortex_get_drvinfo(struct net_device *dev,
strcpy(info->bus_info, pci_name(VORTEX_PCI(vp))); strcpy(info->bus_info, pci_name(VORTEX_PCI(vp)));
} else { } else {
if (VORTEX_EISA(vp)) if (VORTEX_EISA(vp))
sprintf(info->bus_info, dev_name(vp->gendev)); strcpy(info->bus_info, dev_name(vp->gendev));
else else
sprintf(info->bus_info, "EISA 0x%lx %d", sprintf(info->bus_info, "EISA 0x%lx %d",
dev->base_addr, dev->irq); dev->base_addr, dev->irq);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册