PCI: handle pci_name() being const
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Jul 2008 20:24:49 +0000 (13:24 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 3 Jul 2008 19:30:59 +0000 (12:30 -0700)
commiteebfcfb52ce753eaaa8525078bda6b539586066c
tree8c1c841c5365fe12051a3c1f043bb3c528d50a90
parent80be038593dba7aa46fb24a14f0ba83e5ade0edb
PCI: handle pci_name() being const

This changes pci_setup_device to handle pci_name() now returning a
constant string.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/probe.c