summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/numa.h
diff options
context:
space:
mode:
authorAustin Boyle <boyle.austin@gmail.com>2013-11-24 11:41:49 +0100
committerAnton Vorontsov <anton@enomsg.org>2013-12-01 23:25:03 +0100
commit93353e8088057dd988362e6cae727af43734b494 (patch)
tree62355a098b422335315c838198567a18c1433df2 /include/asm-ia64/numa.h
parentpower_supply: Fix Oops from NULL pointer dereference from wakeup_source_activate (diff)
downloadlinux-93353e8088057dd988362e6cae727af43734b494.tar.xz
linux-93353e8088057dd988362e6cae727af43734b494.zip
max17042_battery: Fix build errors caused by missing REGMAP_I2C config
max17042 now uses regmap interface but does not enable config option. This patch fixes the following build errors: drivers/power/max17042_battery.c:661:15: error: variable ‘max17042_regmap_config’ has initializer but incomplete type drivers/power/max17042_battery.c:662:2: error: unknown field ‘reg_bits’ specified in initializer drivers/power/max17042_battery.c:662:2: warning: excess elements in struct initializer drivers/power/max17042_battery.c:662:2: warning: (near initialization for ‘max17042_regmap_config’) drivers/power/max17042_battery.c:663:2: error: unknown field ‘val_bits’ specified in initializer drivers/power/max17042_battery.c:663:2: warning: excess elements in struct initializer drivers/power/max17042_battery.c:663:2: warning: (near initialization for ‘max17042_regmap_config’) drivers/power/max17042_battery.c:664:2: error: unknown field ‘val_format_endian’ specified in initializer drivers/power/max17042_battery.c:664:23: error: ‘REGMAP_ENDIAN_NATIVE’ undeclared here (not in a function) drivers/power/max17042_battery.c:664:2: warning: excess elements in struct initializer drivers/power/max17042_battery.c:664:2: warning: (near initialization for ‘max17042_regmap_config’) drivers/power/max17042_battery.c: In function ‘max17042_probe’: drivers/power/max17042_battery.c:684:2: error: implicit declaration of function ‘devm_regmap_init_i2c’ Signed-off-by: Austin Boyle <boyle.austin@gmail.com> Acked-by: Jonghwa Lee <jonghwa3.lee@samsung.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'include/asm-ia64/numa.h')
0 files changed, 0 insertions, 0 deletions