aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorHongbo Zhang <hongbo.zhang@linaro.org>2013-04-03 08:18:10 -0400
committerAnton Vorontsov <anton@enomsg.org>2013-04-16 20:34:36 -0400
commit2c89940786ef8c6e4dbcd2960142ce513e289f1e (patch)
treeeb4d30ffd6b03b99bf8f5da49ceadd2277c15ff6 /include/linux/mfd
parent6c1f8e02ccccd413012a64b6a15779120f27b734 (diff)
ab8500_{bmdata,fg}: Add const attributes to some data arrays
This patch adds const attributes to AB8500 power and temperature related read-only data arrays. Signed-off-by: Hongbo Zhang <hongbo.zhang@linaro.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/abx500.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mfd/abx500.h b/include/linux/mfd/abx500.h
index 33b0253569a3..3301b2031c8d 100644
--- a/include/linux/mfd/abx500.h
+++ b/include/linux/mfd/abx500.h
@@ -183,11 +183,11 @@ struct abx500_battery_type {
183 int low_high_vol_lvl; 183 int low_high_vol_lvl;
184 int battery_resistance; 184 int battery_resistance;
185 int n_temp_tbl_elements; 185 int n_temp_tbl_elements;
186 struct abx500_res_to_temp *r_to_t_tbl; 186 const struct abx500_res_to_temp *r_to_t_tbl;
187 int n_v_cap_tbl_elements; 187 int n_v_cap_tbl_elements;
188 struct abx500_v_to_cap *v_to_cap_tbl; 188 const struct abx500_v_to_cap *v_to_cap_tbl;
189 int n_batres_tbl_elements; 189 int n_batres_tbl_elements;
190 struct batres_vs_temp *batres_tbl; 190 const struct batres_vs_temp *batres_tbl;
191}; 191};
192 192
193/** 193/**