diff options
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/ab3100.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c index ed6feaf9398d..2dec589a8908 100644 --- a/drivers/regulator/ab3100.c +++ b/drivers/regulator/ab3100.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
18 | #include <linux/regulator/driver.h> | 18 | #include <linux/regulator/driver.h> |
19 | #include <linux/mfd/abx500.h> | 19 | #include <linux/mfd/abx500.h> |
20 | #include <linux/mfd/core.h> | ||
20 | 21 | ||
21 | /* LDO registers and some handy masking definitions for AB3100 */ | 22 | /* LDO registers and some handy masking definitions for AB3100 */ |
22 | #define AB3100_LDO_A 0x40 | 23 | #define AB3100_LDO_A 0x40 |
@@ -576,7 +577,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
576 | 577 | ||
577 | static int __devinit ab3100_regulators_probe(struct platform_device *pdev) | 578 | static int __devinit ab3100_regulators_probe(struct platform_device *pdev) |
578 | { | 579 | { |
579 | struct ab3100_platform_data *plfdata = pdev->dev.platform_data; | 580 | struct ab3100_platform_data *plfdata = mfd_get_data(pdev); |
580 | int err = 0; | 581 | int err = 0; |
581 | u8 data; | 582 | u8 data; |
582 | int i; | 583 | int i; |