ARM: versatile: fix build failure in pci.c
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 2 Apr 2012 23:48:25 +0000 (19:48 -0400)
committerOlof Johansson <olof@lixom.net>
Tue, 3 Apr 2012 05:03:35 +0000 (22:03 -0700)
commitee5324ea33d373558da43a22f3c1074a5fd5496e
treeec8364154c3a4fa4f95b1fa1acba75a57093695c
parentdd775ae2549217d3ae09363e3edb305d0fa19928
ARM: versatile: fix build failure in pci.c

commit 9f786d033d025ab7d2c4d1b959aa81d935eb9e19

    "arm/PCI: get rid of device resource fixups"

causes this failure on the versatile:

arch/arm/mach-versatile/pci.c: In function 'pci_versatile_setup_resources':
arch/arm/mach-versatile/pci.c:221: error: 'sys' undeclared (first use in this function)

because the versatile wasn't passing in the full struct pci_sys_data
but only the resource sub-field.  Change it to pass in the full
struct so that sys will be in scope.

Reported-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-versatile/pci.c