public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] pci-versatile.c: Update for API change in list_for_each_entry()
@ 2015-02-24  8:26 Troglobit
  0 siblings, 0 replies; only message in thread
From: Troglobit @ 2015-02-24  8:26 UTC (permalink / raw)
  To: linux-arm-kernel


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 <troglobit@gmail.com>

---
  drivers/pci/host/pci-versatile.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/host/pci-versatile.c b/drivers/pci/host/pci-versatile.c
index 1ec694a..464bf49 100644
--- a/drivers/pci/host/pci-versatile.c
+++ b/drivers/pci/host/pci-versatile.c
@@ -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)) {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-24  8:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24  8:26 [PATCH] pci-versatile.c: Update for API change in list_for_each_entry() Troglobit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox