powerpc/powernv: Make pnv_pci_sriov_enable() and friends static
authorOliver O'Halloran <oohall@gmail.com>
Sun, 5 Jul 2020 13:35:56 +0000 (23:35 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Jul 2020 01:07:20 +0000 (11:07 +1000)
commit93eacd94e09db2b1bb0343f8115385e5c34abf0a
tree55e265c61170a7ac2e5a6959a98bc39d233cef50
parentc339f9be304c21da1c42899a824f84a2cc9ced30
powerpc/powernv: Make pnv_pci_sriov_enable() and friends static

The kernel test robot noticed these are non-static which causes Clang to
print some warnings. These are called via ppc_md function pointers so
there's no need for them to be non-static.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200705133557.443607-1-oohall@gmail.com
arch/powerpc/platforms/powernv/pci-ioda.c