[PATCH] ARM: versatile: fix build failure in pci.c
From: Paul Gortmaker <hidden>
Date: 2012-04-03 01:01:40
On Mon, Apr 2, 2012 at 8:03 PM, Fabio Estevam [off-list ref] wrote:
Hi Paul. On Mon, Apr 2, 2012 at 8:48 PM, Paul Gortmaker [off-list ref] wrote:quoted
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 <redacted> Signed-off-by: Paul Gortmaker <redacted>I have also sent a similar patch: http://marc.info/?l=linux-arm-kernel&m=133107329108262&w=2
I see. Well, there weren't any follow ups to it but I would say that passing both sys->resources and sys both side-by-side at the same time doesn't really make sense. I think just passing in sys by itself as I did is a cleaner way to go, wouldn't you agree? Thanks, Paul.
Regards, Fabio Estevam _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel at lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel