drivers/net/tokenring/olympic.c: fix warning
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 14 May 2008 23:20:15 +0000 (16:20 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:03:30 +0000 (06:03 -0400)
commit63dac8ff1b3709b5f7ba71283eb48b4e1f18d563
tree5869a7e9331c22c235279c3ad9845475ad79a9c9
parent5d9bac8ece5e2a64a2a450c7e2d6901ed9152052
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>
drivers/net/tokenring/olympic.h