• Alex Chiang's avatar
    PCIe: fix 'symbol not declared' sparse warnings · 5d9526d0
    Alex Chiang authored
    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: default avatarAlex Chiang <achiang@hp.com>
    Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    5d9526d0
aerdrv.c 9.22 KB