From: Greg Kroah-Hartman Date: Wed, 2 Jul 2008 19:46:22 +0000 (-0700) Subject: 3c59x: handle pci_name() being const X-Git-Tag: v2.6.27-rc1~866^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=361d5ee3c04c43c8fa0e277545ac5258dc310a5e;p=linux-2.6-omap-h63xx.git 3c59x: handle pci_name() being const This changes vortex_prob1() to handle pci_name() now returning a constant string. Cc: Steffen Klassert Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index aabad8ce745..8db4e6b8948 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c @@ -1010,7 +1010,7 @@ static int __devinit vortex_probe1(struct device *gendev, static int printed_version; int retval, print_info; struct vortex_chip_info * const vci = &vortex_info_tbl[chip_idx]; - char *print_name = "3c59x"; + const char *print_name = "3c59x"; struct pci_dev *pdev = NULL; struct eisa_device *edev = NULL; DECLARE_MAC_BUF(mac);