Re: [PATCH 3/6] powerpc/powernv: Staticify functions without prototypes
From: Joel Stanley <joel@jms.id.au>
Date: 2020-08-04 02:20:23
From: Joel Stanley <joel@jms.id.au>
Date: 2020-08-04 02:20:23
On Tue, 4 Aug 2020 at 01:01, Oliver O'Halloran [off-list ref] wrote:
There's a few scattered in the powernv platform. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
+++ b/arch/powerpc/platforms/powernv/eeh-powernv.c@@ -38,7 +38,7 @@ static int eeh_event_irq = -EINVAL; -void pnv_pcibios_bus_add_device(struct pci_dev *pdev) +static void pnv_pcibios_bus_add_device(struct pci_dev *pdev) { dev_dbg(&pdev->dev, "EEH: Setting up device\n"); eeh_probe_device(pdev);
This one could even be deleted as eeh_probe_device has it's own dev_dbg. Reviewed-by: Joel Stanley <joel@jms.id.au>