summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/ras.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2021-01-04 15:31:46 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2021-01-30 01:39:27 +0100
commit44159329e0ad160af7cc7e84fa6d97531c8ed78f (patch)
treed71197d2e4471b31be9877b0c3331f1e5e4e3a1e /arch/powerpc/platforms/pseries/ras.c
parentpowerpc/pseries/ras: Remove unused variable 'status' (diff)
downloadlinux-44159329e0ad160af7cc7e84fa6d97531c8ed78f.tar.xz
linux-44159329e0ad160af7cc7e84fa6d97531c8ed78f.zip
powerpc/pseries/eeh: Make pseries_pcibios_bus_add_device() static
pseries_pcibios_bus_add_device() is a local routine defining the pcibios_bus_add_device() handler of the pseries machine in eeh_pseries_init(). It doesn't need to be external. It fixes this W=1 compile error: ../arch/powerpc/platforms/pseries/eeh_pseries.c:46:6: error: no previous prototype for ‘pseries_pcibios_bus_add_device’ [-Werror=missing-prototypes] 46 | void pseries_pcibios_bus_add_device(struct pci_dev *pdev) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: dae7253f9f78 ("powerpc/pseries: Add pseries SR-IOV Machine dependent calls") Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210104143206.695198-4-clg@kaod.org
Diffstat (limited to 'arch/powerpc/platforms/pseries/ras.c')
0 files changed, 0 insertions, 0 deletions