Skip to content

Commit

Permalink
drivers/net/tokenring/3c359.c: squish a warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Jeff Garzik committed May 22, 2008
1 parent b166cfb commit 5d9bac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/tokenring/3c359.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
Expand Down

0 comments on commit 5d9bac8

Please sign in to comment.