powerpc: Fix usage of setup_pci_atmu()
authorMichael Neuling <mikey@neuling.org>
Sun, 14 Apr 2013 19:42:01 +0000 (19:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 30 Apr 2013 05:15:12 +0000 (15:15 +1000)
Linux next is currently failing to compile mpc85xx_defconfig with:
  arch/powerpc/sysdev/fsl_pci.c:944:2: error: too many arguments to function 'setup_pci_atmu'

This is caused by (from Kumar's next branch):
  commit 34642bbb3d12121333efcf4ea7dfe66685e403a1
  Author: Kumar Gala <galak@kernel.crashing.org>
  powerpc/fsl-pci: Keep PCI SoC controller registers in pci_controller

Which changed definition of setup_pci_atmu() but didn't update one of
the callers.  Below fixes this.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Reviewed-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/fsl_pci.c

index cf81d65165147e3e71d6b36da862399b922bfbd2..cffe7edac858f9567521f7fe043dd478fd78fd22 100644 (file)
@@ -975,7 +975,7 @@ static int fsl_pci_resume(struct device *dev)
                return -ENODEV;
        }
 
-       setup_pci_atmu(hose, &pci_rsrc);
+       setup_pci_atmu(hose);
 
        return 0;
 }