Commit 5d9bac8e authored by Andrew Morton's avatar Andrew Morton Committed by Jeff Garzik

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent b166cfba
...@@ -264,7 +264,7 @@ struct xl_private { ...@@ -264,7 +264,7 @@ struct xl_private {
u16 asb; u16 asb;
u8 __iomem *xl_mmio; u8 __iomem *xl_mmio;
char *xl_card_name; const char *xl_card_name;
struct pci_dev *pdev ; struct pci_dev *pdev ;
spinlock_t xl_lock ; spinlock_t xl_lock ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment