dm: pci: Avoid a driver model build error with CONFIG_CMD_PCI_ENUM
authorSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:26:56 +0000 (20:26 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:26:36 +0000 (06:26 -0700)
commit871bc923740538959dff818f382cbcce0282fa52
treea3dfea2ed24b9d26b584353d8a2fdcfddd41c5ff
parentfde7e18938d84950979beccb4b2b279efb19c4bd
dm: pci: Avoid a driver model build error with CONFIG_CMD_PCI_ENUM

This is not supported with driver model, so print a message instead of
generating a build error. Rescanning PCI is not yet implemented.

This function will be implemented later once some additional PCI driver
model improvements are merged. It was confirmed on the mailing list
that no one on the tegra side will miss this feature, so it is disabled
for tegra.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
common/cmd_pci.c
include/configs/apalis_t30.h
include/configs/beaver.h
include/configs/cardhu.h
include/configs/jetson-tk1.h
include/configs/p2371-2180.h
include/configs/trimslice.h