]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/chrp/pci: Make some functions static
authorMathieu Malaterre <malat@debian.org>
Wed, 4 Apr 2018 20:15:03 +0000 (22:15 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 25 May 2018 02:04:41 +0000 (12:04 +1000)
commit910be6be6c00e6d33d47985586c392155ee7aa0e
tree795ba157bd168eb77b0f8840b8c261de960f6a85
parent5a4b475cf8511da721f20ba432c244061db7139f
powerpc/chrp/pci: Make some functions static

These functions can all be static, make it so. Fix warnings treated as
errors with W=1:

  arch/powerpc/platforms/chrp/pci.c:34:5: error: no previous prototype for ‘gg2_read_config’ [-Werror=missing-prototypes]
  arch/powerpc/platforms/chrp/pci.c:61:5: error: no previous prototype for ‘gg2_write_config’ [-Werror=missing-prototypes]
  arch/powerpc/platforms/chrp/pci.c:97:5: error: no previous prototype for ‘rtas_read_config’ [-Werror=missing-prototypes]
  arch/powerpc/platforms/chrp/pci.c:112:5: error: no previous prototype for ‘rtas_write_config’ [-Werror=missing-prototypes]

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/chrp/pci.c