pci-versatile.c: Update for API change in list_for_each_entry()
PATCH 1/1 pci-versatile.c: Update for API change in list_for_each_entry()
In Linux 4.0-rc1 ARM Versatile PCI build fails to build due to what appears to be an API update. This patch is a very simple correction, merely posted as a heads-up to the maintainers. Hopefully a better fix can be forwarded to Linus.
Signed-off-by Joachim Nilsson <[email protected]>
--- drivers/pci/host/pci-versatile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/host/pci-versatile.c +1 -1
@@ -80,7 +80,7 @@ static int versatile_pci_parse_request_of_pci_ranges(struct device *dev,if (err)return err; -resource_list_for_each_entry (win, res, list) { +resource_list_for_each_entry (win, res) {struct resource *parent, *res = win->res;switch (resource_type (res)) {
Signature · 1 line
1.9.1