powerpc/fsl_pci: Fix pci stack build bug with FRAME_WARN
authorKim Phillips <kim.phillips@freescale.com>
Fri, 23 Jan 2015 01:05:06 +0000 (19:05 -0600)
committerScott Wood <scottwood@freescale.com>
Fri, 30 Jan 2015 01:56:15 +0000 (19:56 -0600)
Fix this:

  CC      arch/powerpc/sysdev/fsl_pci.o
arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pcie_check_link':
arch/powerpc/sysdev/fsl_pci.c:91:1: error: the frame size of 1360 bytes is larger than 1024 bytes [-Werror=frame-larger-than=]

when configuring FRAME_WARN, by refactoring indirect_read_config()
to take hose and bus number instead of the 1344-byte struct pci_bus.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/sysdev/fsl_pci.c
arch/powerpc/sysdev/indirect_pci.c

Simple merge
Simple merge
Simple merge