aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMattias Wallin <mattias.wallin@stericsson.com>2011-02-03 10:29:33 +0100
committerHenrik Öhman <henrik.ohman@stericsson.com>2011-03-11 10:15:17 +0100
commitd6885ab73896d885ee7bd2a8b321fef2a983edbe (patch)
tree5522093f28cb141e22e31cb541eb286f19d264e3 /include
parent2ac9382a4fe1ac9dd048339603068d8238171f1b (diff)
pm poweroff moved from platform to sysctrl
This patch moves the machine pm power off hook from the machine code to the ab8500-sysctrl driver. ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: - Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Change-Id: Ic49bccfaab7bd1dcaf83974401bdc0aae573e7e1 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14174 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/ab8500.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/ab8500.h b/include/linux/mfd/ab8500.h
index 963181cbb92..add5c30c41c 100644
--- a/include/linux/mfd/ab8500.h
+++ b/include/linux/mfd/ab8500.h
@@ -183,6 +183,7 @@ struct ab8500_gpio_platform_data;
/**
* struct ab8500_platform_data - AB8500 platform data
+ * @pm_power_off: Should machine pm power off hook be registered or not
* @irq_base: start of AB8500 IRQs, AB8500_NR_IRQS will be used
* @init: board-specific initialization after detection of ab8500
* @num_regulator_reg_init: number of regulator init registers
@@ -195,6 +196,7 @@ struct ab8500_gpio_platform_data;
*/
struct ab8500_platform_data {
int irq_base;
+ bool pm_power_off;
void (*init) (struct ab8500 *);
int num_regulator_reg_init;
struct ab8500_regulator_reg_init *regulator_reg_init;