lantiq: fix pci with kernel 4.9
authorMathias Kresin <dev@kresin.me>
Fri, 10 Mar 2017 21:46:30 +0000 (22:46 +0100)
committerMathias Kresin <dev@kresin.me>
Fri, 24 Mar 2017 07:09:39 +0000 (08:09 +0100)
commite4c53c751e5f928ee8d6494981e691f6da8ecd06
tree801c1c36c63f73f14a629258327ab11b12f08de4
parent2f8d086baa83dd36859fc4af83e5c8db885fd850
lantiq: fix pci with kernel 4.9

Commit 23dac14d058f ("MIPS: PCI: Use struct list_head lists") changed
the controller list from reverse to straight order. Use the last entry
in the controller list to get the fist conroller of the system.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/lantiq/patches-4.9/0001-MIPS-lantiq-add-pcie-driver.patch