aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tokenring/olympic.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-05-14 19:20:15 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-22 06:03:30 -0400
commit63dac8ff1b3709b5f7ba71283eb48b4e1f18d563 (patch)
tree5869a7e9331c22c235279c3ad9845475ad79a9c9 /drivers/net/tokenring/olympic.h
parent5d9bac8ece5e2a64a2a450c7e2d6901ed9152052 (diff)
drivers/net/tokenring/olympic.c: fix warning
When dev_name() is changed to return `const char *': drivers/net/tokenring/olympic.c: In function 'olympic_probe': drivers/net/tokenring/olympic.c:234: 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/olympic.h')
-rw-r--r--drivers/net/tokenring/olympic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tokenring/olympic.h b/drivers/net/tokenring/olympic.h
index c91956310fb2..10fbba08978f 100644
--- a/drivers/net/tokenring/olympic.h
+++ b/drivers/net/tokenring/olympic.h
@@ -254,7 +254,7 @@ struct olympic_private {
254 u8 __iomem *olympic_mmio; 254 u8 __iomem *olympic_mmio;
255 u8 __iomem *olympic_lap; 255 u8 __iomem *olympic_lap;
256 struct pci_dev *pdev ; 256 struct pci_dev *pdev ;
257 char *olympic_card_name ; 257 const char *olympic_card_name;
258 258
259 spinlock_t olympic_lock ; 259 spinlock_t olympic_lock ;
260 260