dm: pci: Disable PCI compatibility functions by default
authorSimon Glass <sjg@chromium.org>
Fri, 27 Nov 2015 02:51:30 +0000 (19:51 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:26:38 +0000 (06:26 -0700)
commit3ba5f74a541f77bfb6904e684e2cf0bfad005106
treea588534a7daa80436f5e617ecc4ebc6050071f43
parentcab24b3407189a120066b82da2376679bf203eae
dm: pci: Disable PCI compatibility functions by default

We eventually need to drop the compatibility functions for driver model. As
a first step, create a configuration option to enable them and hide them
when the option is disabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/arm/mach-tegra/Kconfig
arch/x86/Kconfig
configs/sandbox_defconfig
drivers/pci/Kconfig
drivers/pci/Makefile
include/pci.h