summaryrefslogtreecommitdiff
path: root/include/linux/mfd/abx500
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2011-05-11 09:32:05 +0200
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 15:15:13 +0200
commit0ceaa9d4f0315be29e7779b69a50031d36a33bfb (patch)
tree635bd2d182619816577d503d6fa55e2ec6b99800 /include/linux/mfd/abx500
parentdcab2d1882e6fc40034331db34f2913a2ac29b30 (diff)
ab5500: placeholder to pass devices platform data
Added placeholder in struct ab5500_platform_data to add platform data of ab5500 devices. Change-Id: I020cbcfd344d19c7f4268638ebf147e7080b127d Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21907 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Diffstat (limited to 'include/linux/mfd/abx500')
-rw-r--r--include/linux/mfd/abx500/ab5500.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/mfd/abx500/ab5500.h b/include/linux/mfd/abx500/ab5500.h
index 72c2baf1b83..f9230b6444f 100644
--- a/include/linux/mfd/abx500/ab5500.h
+++ b/include/linux/mfd/abx500/ab5500.h
@@ -133,9 +133,11 @@ struct ab5500 {
struct ab5500_regulator_platform_data;
struct ab5500_platform_data {
- struct {unsigned int base; unsigned int count; } irq;
- struct ab5500_regulator_platform_data *regulator;
- };
+ struct {unsigned int base; unsigned int count; } irq;
+ void *dev_data[AB5500_NUM_DEVICES];
+ size_t dev_data_sz[AB5500_NUM_DEVICES];
+ struct ab5500_regulator_platform_data *regulator;
+};
#endif /* MFD_AB5500_H */