diff options
author | Ola Lilja <ola.o.lilja@stericsson.com> | 2012-06-07 08:00:46 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-11 23:44:21 -0400 |
commit | f242e50eee1ec7692c4854d94e8cd543991cce71 (patch) | |
tree | 9c14bb93659d7de068f72868fd4714472d103a8e /include/linux/mfd/abx500/ab8500.h | |
parent | cfaf025112d3856637ff34a767ef785ef5cf2ca9 (diff) |
mfd/ab8500: Move platform-data for ab8500-codec into mfd-driver
The platform-data used by the Ux500 ASoC-driver is moved from the
machine-driver context into the codec-driver context. This means
adding the platform-data for 'ab8500-codec' into the main AB8500
platform-data.
Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd/abx500/ab8500.h')
-rw-r--r-- | include/linux/mfd/abx500/ab8500.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ab8500.h b/include/linux/mfd/abx500/ab8500.h index 91dd3ef63e99..bc9b84b60ec6 100644 --- a/include/linux/mfd/abx500/ab8500.h +++ b/include/linux/mfd/abx500/ab8500.h | |||
@@ -266,6 +266,7 @@ struct ab8500 { | |||
266 | struct regulator_reg_init; | 266 | struct regulator_reg_init; |
267 | struct regulator_init_data; | 267 | struct regulator_init_data; |
268 | struct ab8500_gpio_platform_data; | 268 | struct ab8500_gpio_platform_data; |
269 | struct ab8500_codec_platform_data; | ||
269 | 270 | ||
270 | /** | 271 | /** |
271 | * struct ab8500_platform_data - AB8500 platform data | 272 | * struct ab8500_platform_data - AB8500 platform data |
@@ -284,6 +285,7 @@ struct ab8500_platform_data { | |||
284 | int num_regulator; | 285 | int num_regulator; |
285 | struct regulator_init_data *regulator; | 286 | struct regulator_init_data *regulator; |
286 | struct ab8500_gpio_platform_data *gpio; | 287 | struct ab8500_gpio_platform_data *gpio; |
288 | struct ab8500_codec_platform_data *codec; | ||
287 | }; | 289 | }; |
288 | 290 | ||
289 | extern int __devinit ab8500_init(struct ab8500 *ab8500, | 291 | extern int __devinit ab8500_init(struct ab8500 *ab8500, |