[PATCH 1/3] mfd: Added new regulator_data pointer to ab8500 board configuration

Bengt Jonsson bengt.g.jonsson at stericsson.com
Tue Nov 23 13:25:52 EST 2010


The ab8500 regulator board configuration will be better separated
from the MFD board configuration. This patch adds a void pointer
for this purpose.

Signed-off-by: Bengt Jonsson <bengt.g.jonsson at stericsson.com>
Acked-by: Linus Walleij <linus.walleij at stericsson.com>
---
 include/linux/mfd/ab8500.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/mfd/ab8500.h b/include/linux/mfd/ab8500.h
index d63b605..70d8d9a 100644
--- a/include/linux/mfd/ab8500.h
+++ b/include/linux/mfd/ab8500.h
@@ -146,6 +146,7 @@ struct ab8500_platform_data {
 	int irq_base;
 	void (*init) (struct ab8500 *);
 	struct regulator_init_data *regulator[AB8500_NUM_REGULATORS];
+	void *regulator_data;
 };
 
 extern int __devinit ab8500_init(struct ab8500 *ab8500);
-- 
1.7.2.2




More information about the linux-arm-kernel mailing list