pci: Fix up code for CONFIG_PCI_ENUM_ONLY
authorSimon Glass <sjg@chromium.org>
Fri, 31 Jul 2015 15:31:34 +0000 (09:31 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:42:41 +0000 (08:42 -0600)
commit53292ad956329eb18de0604f369cd99dd2a2579f
tree6d56f2f1ffeddb4d659c6a18104644ec1287163d
parentda4b159bf021fcb464235232defb423d0d81aaa6
pci: Fix up code for CONFIG_PCI_ENUM_ONLY

This option is not used by any board but appears to still be useful, at least
for testing. With recent commits it does not build, so fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_auto.c