PCI: make pci_name use dev_name
authorGreg KH <gregkh@suse.de>
Thu, 3 Jul 2008 16:49:39 +0000 (09:49 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 7 Jul 2008 23:02:40 +0000 (16:02 -0700)
commitc6c4f070a61b2b6e5cd317a5fbf25255878688a2
tree7831df47d77b4307c91ab0ef8edfd2615271e7d5
parenteebfcfb52ce753eaaa8525078bda6b539586066c
PCI: make pci_name use dev_name

Also fixes up the sparc code that was assuming this is not a constant.

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/sparc64/kernel/pci.c
include/linux/pci.h