PCIe: fix 'symbol not declared' sparse warnings
authorAlex Chiang <achiang@hp.com>
Wed, 4 Jun 2008 17:39:07 +0000 (11:39 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Jun 2008 17:59:55 +0000 (10:59 -0700)
commit5d9526d07a8dc87460c13c277b3edcc26b0e662f
treea9dc7b5ad70d2cc7173ee5d8d65b71c8636bfdc8
parent10260d9ab702454460242ef4d3ecfc49fcb96a5b
PCIe: fix 'symbol not declared' sparse warnings

While refreshing my physical PCI slot series against upstream, I
noticed a few simple sparse/compile warnings that were easy to
fix.

Fix the following sparse warnings in PCIe:

drivers/pci/pcie/aer/aerdrv.c:86:6: warning: symbol 'pci_no_aer'
was not declared. Should it be static?
drivers/pci/pcie/portdrv_bus.c:21:17: warning: symbol
'pcie_port_bus_type' was not declared. Should it be static?

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aerdrv.c
drivers/pci/pcie/portdrv_bus.c