[PATCH 3/6] powerpc/powernv: Staticify functions without prototypes

Joel Stanley joel at jms.id.au
Tue Aug 4 12:17:49 AEST 2020


On Tue, 4 Aug 2020 at 01:01, Oliver O'Halloran <oohall at gmail.com> wrote:
>
> There's a few scattered in the powernv platform.
>
> Signed-off-by: Oliver O'Halloran <oohall at 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 at jms.id.au>


More information about the Linuxppc-dev mailing list