drivers/pci: Fix for debug builds without CONFIG_PCI_ENUM_ONLY
authorPhil Sutter <phil@nwl.cc>
Fri, 25 Dec 2015 13:41:17 +0000 (14:41 +0100)
committerStefan Roese <sr@denx.de>
Thu, 14 Jan 2016 13:08:59 +0000 (14:08 +0100)
commit11131467933cd53cd244631b45df491723858449
tree53099019fe93395d8f07e9050bf37024ad68439e
parentf4db6c976cf8f414c555ccbd355de787b2706be3
drivers/pci: Fix for debug builds without CONFIG_PCI_ENUM_ONLY

The debug printing references bar_res, which exists only if
CONFIG_PCI_ENUM_ONLY is not defined. Therefore move it into the ifdef'd
area.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Stefan Roese <sr@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/pci/pci_auto_old.c