From: Andrew Morton Date: Wed, 14 May 2008 23:20:15 +0000 (-0700) Subject: drivers/net/tokenring/3c359.c: squish a warning X-Git-Tag: v2.6.26-rc4~7^2~1^2~30 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5d9bac8ece5e2a64a2a450c7e2d6901ed9152052;p=linux-2.6-omap-h63xx.git 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 Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/tokenring/3c359.h b/drivers/net/tokenring/3c359.h index b880cba0f6f..74cf8e1a181 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 ;