powerpc/eeh: Declare pci_ers_result_name() as static
authorBreno Leitao <leitao@debian.org>
Mon, 22 Oct 2018 14:54:13 +0000 (11:54 -0300)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 25 Nov 2018 06:11:21 +0000 (17:11 +1100)
commitc36c5ffd5173bad377749c136718f3c77d896691
treee2e6d19737061ba714ed7e39673f3524eb9b8abf
parent42e2acde1237878462b028f5a27d9cc5bea7502c
powerpc/eeh: Declare pci_ers_result_name() as static

Function pci_ers_result_name() is a static function, although not declared
as such. This was detected by sparse in the following warning

arch/powerpc/kernel/eeh_driver.c:63:12: warning: symbol 'pci_ers_result_name' was not declared. Should it be static?

This patch simply declares the function a static.

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh_driver.c