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)
commit6d5f6a0eba15c1d2cfd367f1c3fb77ab2bfe8ca8
tree7ffda044bd5380059212cabb603970c6d688737b
parent31494cf3532cfee0bf5c913ac9962971aab7b1d4
powerpc/fsl_pci: Fix pci stack build bug with FRAME_WARN

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