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: NPhil Sutter <phil@nwl.cc> Acked-by: NStefan Roese <sr@denx.de> Reviewed-by: NTom Rini <trini@konsulko.com>
Showing
想要评论请 注册 或 登录