diff options
author | Mathias Kresin | 2017-03-26 19:05:36 +0200 |
---|---|---|
committer | Ralf Baechle | 2017-04-13 00:51:20 +0200 |
commit | edb0b6a0b4490014924d56c4c7117c7c8fc608ca (patch) | |
tree | 9cb2978cd8aa5010930eca6b5ffe37343c9d328d /arch/mips/kernel/mips-cm.c | |
parent | 162b270c664dca2e0944308e92f9fcc887151a72 (diff) |
MIPS: PCI: add controllers before the specified head
With commit 23dac14d058f ("MIPS: PCI: Use struct list_head lists") new
controllers are added after the specified head where they where added
before the specified head previously.
Use list_add_tail to restore the former order.
This patches fixes the following PCI error on lantiq:
pci 0000:01:00.0: BAR 0: error updating (0x1c000004 != 0x000000)
Fixes: 23dac14d058f ("MIPS: PCI: Use struct list_head lists")
Signed-off-by: Mathias Kresin <dev@kresin.me>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15808/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/mips-cm.c')
0 files changed, 0 insertions, 0 deletions