Skip to content

Commit

Permalink
powerpc: Fix usage of setup_pci_atmu()
Browse files Browse the repository at this point in the history
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 34642bb
  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>
  • Loading branch information
Michael Neuling authored and Benjamin Herrenschmidt committed Apr 30, 2013
1 parent bc23100 commit d5bbe65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/sysdev/fsl_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d5bbe65

Please sign in to comment.