diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-01-09 10:06:03 +0000 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-01-22 17:28:44 +0100 |
commit | 00441b5e6b98ad6a50b5cb7f88d473e3ea1e0d75 (patch) | |
tree | 1e1785a0981a62f4e579a0a6d1f420318947012d /include/linux/mfd/abx500.h | |
parent | a17155bc9c9a43f94f4f502ad9776bf082219d84 (diff) | |
download | blackbird-op-linux-00441b5e6b98ad6a50b5cb7f88d473e3ea1e0d75.tar.gz blackbird-op-linux-00441b5e6b98ad6a50b5cb7f88d473e3ea1e0d75.zip |
mfd: Fix compile errors and warnings when !CONFIG_AB8500_BM
drivers/mfd/ab8500-core.c:1015:21: error: ‘ab8500_bm_data’ undeclared here
include/linux/mfd/abx500/ab8500-bm.h:445:13: warning: ‘ab8500_fg_reinit’ defined but not used
include/linux/mfd/abx500/ab8500-bm.h:448:13: warning: ‘ab8500_charger_usb_state_changed’ defined but not used
include/linux/mfd/abx500/ab8500-bm.h:451:29: warning: ‘ab8500_btemp_get’ defined but not used
include/linux/mfd/abx500/ab8500-bm.h:455:12: warning: ‘ab8500_btemp_get_batctrl_temp’ defined but not used
include/linux/mfd/abx500/ab8500-bm.h:463:12: warning: ‘ab8500_fg_inst_curr_blocking’ defined but not used
include/linux/mfd/abx500/ab8500-bm.h:442:12: warning: ‘ab8500_fg_inst_curr_done’ defined but not used
include/linux/mfd/abx500/ab8500-bm.h:447:26: warning: ‘ab8500_fg_get’ defined but not used
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/abx500.h')
-rw-r--r-- | include/linux/mfd/abx500.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h index 2138bd33021a..e53dcfeaee69 100644 --- a/include/linux/mfd/abx500.h +++ b/include/linux/mfd/abx500.h @@ -272,8 +272,6 @@ struct abx500_bm_data { const struct abx500_fg_parameters *fg_params; }; -extern struct abx500_bm_data ab8500_bm_data; - enum { NTC_EXTERNAL = 0, NTC_INTERNAL, |