pcnet32: fix warning
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 14 May 2008 23:20:14 +0000 (16:20 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 10:03:29 +0000 (06:03 -0400)
commitb166cfba01d62d04ae81ecce2d5dbe308db8083a
treeacbcfdbb632b27cce4ce1e956eb0e59354a18eaf
parent5bceeda3253d9ea6a38e2e918362a2610677f9c0
pcnet32: fix warning

pci_name() will be changed to return `const char *':

drivers/net/pcnet32.c: In function 'pcnet32_probe1':
drivers/net/pcnet32.c:1884: warning: passing argument 2 of 'pcnet32_alloc_ring' discards qualifiers from pointer target type

Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/pcnet32.c