diff options
Diffstat (limited to 'drivers/regulator/ab3100.c')
-rw-r--r-- | drivers/regulator/ab3100.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/regulator/ab3100.c b/drivers/regulator/ab3100.c index b1d77946e9c6..585e4946fe0a 100644 --- a/drivers/regulator/ab3100.c +++ b/drivers/regulator/ab3100.c | |||
@@ -17,7 +17,6 @@ | |||
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> | ||
21 | 20 | ||
22 | /* LDO registers and some handy masking definitions for AB3100 */ | 21 | /* LDO registers and some handy masking definitions for AB3100 */ |
23 | #define AB3100_LDO_A 0x40 | 22 | #define AB3100_LDO_A 0x40 |
@@ -582,7 +581,7 @@ ab3100_regulator_desc[AB3100_NUM_REGULATORS] = { | |||
582 | 581 | ||
583 | static int __devinit ab3100_regulators_probe(struct platform_device *pdev) | 582 | static int __devinit ab3100_regulators_probe(struct platform_device *pdev) |
584 | { | 583 | { |
585 | struct ab3100_platform_data *plfdata = mfd_get_data(pdev); | 584 | struct ab3100_platform_data *plfdata = pdev->dev.platform_data; |
586 | int err = 0; | 585 | int err = 0; |
587 | u8 data; | 586 | u8 data; |
588 | int i; | 587 | int i; |