summaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/kvm_para.h
diff options
context:
space:
mode:
authorDong Aisheng <dong.aisheng@linaro.org>2012-10-15 15:50:25 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-10-17 22:09:35 +0900
commit5784ee4dcbb896f5367855540b264e21a0c33854 (patch)
tree3e15a354e7fe7b24abd7eab598420b7708597916 /arch/parisc/include/asm/kvm_para.h
parentddffeb8c4d0331609ef2581d84de4d763607bd37 (diff)
downloadtalos-obmc-linux-5784ee4dcbb896f5367855540b264e21a0c33854.tar.gz
talos-obmc-linux-5784ee4dcbb896f5367855540b264e21a0c33854.zip
regmap: select REGMAP if REGMAP_MMIO and REGMAP_IRQ enabled
The regmap_mmio and regmap_irq depend on regmap core, if not select, we may not compile regmap core and meet compiling errors as follows if REGMAP_MMIO is selected by client drivers: drivers/mfd/syscon.c:94:15: error: variable 'syscon_regmap_config' has initializer but incomplete type drivers/mfd/syscon.c:95:2: error: unknown field 'reg_bits' specified in initializer drivers/mfd/syscon.c:95:2: warning: excess elements in struct initializer [enabled by default] drivers/mfd/syscon.c:95:2: warning: (near initialization for 'syscon_regmap_config') [enabled by default] drivers/mfd/syscon.c:96:2: error: unknown field 'val_bits' specified in initializer drivers/mfd/syscon.c:96:2: warning: excess elements in struct initializer [enabled by default] drivers/mfd/syscon.c:96:2: warning: (near initialization for 'syscon_regmap_config') [enabled by default] drivers/mfd/syscon.c:97:2: error: unknown field 'reg_stride' specified in initializer drivers/mfd/syscon.c:97:2: warning: excess elements in struct initializer [enabled by default] drivers/mfd/syscon.c:97:2: warning: (near initialization for 'syscon_regmap_config') [enabled by default] drivers/mfd/syscon.c: In function 'syscon_probe': drivers/mfd/syscon.c:124:2: error: invalid use of undefined type 'struct regmap_config' drivers/mfd/syscon.c:125:2: error: implicit declaration of function 'devm_regmap_init_mmio' [-Werror=implicit-function-declaration] drivers/mfd/syscon.c:125:17: warning: assignment makes pointer from integer without a cast [enabled by default] cc1: some warnings being treated as errors drivers/mfd/Kconfig: config MFD_SYSCON bool "System Controller Register R/W Based on Regmap" depends on OF select REGMAP_MMIO help Select this option to enable accessing system control registers via regmap. Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/parisc/include/asm/kvm_para.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud