aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@marvell.com>2011-08-29 12:32:04 -0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2011-11-25 14:30:58 -0500
commite7a5f6d55991fb3b3214f435681ee2db96320395 (patch)
tree770037bf6a2d86190b976bfcea3eb67584991d4c /include/linux/mfd
parent72af5a4b9cc9c4527f2967e0283bee632237c26e (diff)
max8925_power: Enable power change notifications
The power core infrastructure allow external power change events to be passed to drivers what are listed in the supplied_to call back field. Enable this feature by allowing the supplied_to field to be passed to the driver. This feature will enable drivers named in the supplied_to field that have a external_power_changed callback to be notified when power was been turned on or off. Signed-off-by: Philip Rakity <prakity@marvell.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/max8925.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/max8925.h b/include/linux/mfd/max8925.h
index 10aeaf8bfb94..b8e6d9449086 100644
--- a/include/linux/mfd/max8925.h
+++ b/include/linux/mfd/max8925.h
@@ -222,6 +222,8 @@ struct max8925_power_pdata {
222 unsigned fast_charge:3; /* charge current */ 222 unsigned fast_charge:3; /* charge current */
223 unsigned no_temp_support:1; /* set if no temperature detect */ 223 unsigned no_temp_support:1; /* set if no temperature detect */
224 unsigned no_insert_detect:1; /* set if no ac insert detect */ 224 unsigned no_insert_detect:1; /* set if no ac insert detect */
225 char **supplied_to;
226 int num_supplicants;
225}; 227};
226 228
227/* 229/*