diff options
| author | Cédric Le Goater <clg@kaod.org> | 2021-01-04 15:32:04 +0100 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-01-30 11:39:31 +1100 |
| commit | 42c1f400d1da50dd1cd9f874df72dc827f9fe2d2 (patch) | |
| tree | 1a796c117f199a78e5c6a0def22a7d7533a776fd /tools/perf/scripts/python | |
| parent | KVM: PPC: Book3S HV: Declare some prototypes (diff) | |
| download | linux-42c1f400d1da50dd1cd9f874df72dc827f9fe2d2.tar.gz linux-42c1f400d1da50dd1cd9f874df72dc827f9fe2d2.zip | |
powerpc/pseries: Make IOV setup routines static
These are only used locally. It fixes these W=1 compile errors :
../arch/powerpc/platforms/pseries/setup.c:610:17: error: no previous prototype for ‘pseries_get_iov_fw_value’ [-Werror=missing-prototypes]
610 | resource_size_t pseries_get_iov_fw_value(struct pci_dev *dev, int resno,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../arch/powerpc/platforms/pseries/setup.c:646:6: error: no previous prototype for ‘of_pci_set_vf_bar_size’ [-Werror=missing-prototypes]
646 | void of_pci_set_vf_bar_size(struct pci_dev *dev, const int *indexes)
| ^~~~~~~~~~~~~~~~~~~~~~
../arch/powerpc/platforms/pseries/setup.c:668:6: error: no previous prototype for ‘of_pci_parse_iov_addrs’ [-Werror=missing-prototypes]
668 | void of_pci_parse_iov_addrs(struct pci_dev *dev, const int *indexes)
| ^~~~~~~~~~~~~~~~~~~~~~
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-22-clg@kaod.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
