summaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/3c359.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-05-14 16:20:15 -0700
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 06:03:29 -0400
commit5d9bac8ece5e2a64a2a450c7e2d6901ed9152052 (patch)
tree450725912eed6306ea2fb410db80f6c921062eba /drivers/net/tokenring/3c359.h
parentb166cfba01d62d04ae81ecce2d5dbe308db8083a (diff)
downloadlinux-5d9bac8ece5e2a64a2a450c7e2d6901ed9152052.tar.gz
linux-5d9bac8ece5e2a64a2a450c7e2d6901ed9152052.tar.bz2
linux-5d9bac8ece5e2a64a2a450c7e2d6901ed9152052.zip
drivers/net/tokenring/3c359.c: squish a warning
When dev_name() is changed to return `const char *': drivers/net/tokenring/3c359.c: In function 'xl_probe': drivers/net/tokenring/3c359.c:318: warning: assignment discards qualifiers from pointer target type Cc: Jeff Garzik <jeff@garzik.org> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/tokenring/3c359.h')
-rw-r--r--drivers/net/tokenring/3c359.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tokenring/3c359.h b/drivers/net/tokenring/3c359.h
index b880cba0f6fd..74cf8e1a181b 100644
--- a/drivers/net/tokenring/3c359.h
+++ b/drivers/net/tokenring/3c359.h
@@ -264,7 +264,7 @@ struct xl_private {
u16 asb;
u8 __iomem *xl_mmio;
- char *xl_card_name;
+ const char *xl_card_name;
struct pci_dev *pdev ;
spinlock_t xl_lock ;