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>
This commit is contained in:
Breno Leitao 2018-10-22 11:54:13 -03:00 committed by Michael Ellerman
parent 42e2acde12
commit c36c5ffd51

View File

@ -60,7 +60,7 @@ static int eeh_result_priority(enum pci_ers_result result)
}
};
const char *pci_ers_result_name(enum pci_ers_result result)
static const char *pci_ers_result_name(enum pci_ers_result result)
{
switch (result) {
case PCI_ERS_RESULT_NONE: