[PATCH] ARM: versatile: fix build failure in pci.c

Fabio Estevam festevam at gmail.com
Mon Apr 2 20:03:06 EDT 2012


Hi Paul.

On Mon, Apr 2, 2012 at 8:48 PM, Paul Gortmaker
<paul.gortmaker at windriver.com> wrote:
> 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 at windriver.com>
> Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>

I have also sent a similar patch:
http://marc.info/?l=linux-arm-kernel&m=133107329108262&w=2

Regards,

Fabio Estevam



More information about the linux-arm-kernel mailing list