ARM: Kirkwood: Update PCI-E fixup
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Wed, 21 Nov 2012 07:19:06 +0000 (00:19 -0700)
committerJason Cooper <jason@lakedaemon.net>
Wed, 21 Nov 2012 18:30:08 +0000 (18:30 +0000)
commit1dc831bf53fddcc6443f74a39e72db5bcea4f15d
treeaadc32c5b64b6a4ae6733a71bc2335510d42275d
parentd356cf5a74afa32b40decca3c9dd88bc3cd63eb5
ARM: Kirkwood: Update PCI-E fixup

- The code relies on rc_pci_fixup being called, which only happens
  when CONFIG_PCI_QUIRKS is enabled, so add that to Kconfig. Omitting
  this causes a booting failure with a non-obvious cause.
- Update rc_pci_fixup to set the class properly, copying the
  more modern style from other places
- Correct the rc_pci_fixup comment

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/Kconfig
arch/arm/mach-kirkwood/pcie.c