diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-08 04:04:40 -0400 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-24 08:09:08 -0400 |
| commit | 6e3ad118041f56db752a5eb2b557517d14592af7 (patch) | |
| tree | a19fb9c05cd0fdf46824b367844d689fe6030f5b /include/linux | |
| parent | d036c96e703c176250503194f4fcd8b96e606b52 (diff) | |
mfd: Convert pcf50633 to use new register map API
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/pcf50633/core.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/pcf50633/core.h b/include/linux/mfd/pcf50633/core.h index 50d4a047118d..a80840752b4c 100644 --- a/include/linux/mfd/pcf50633/core.h +++ b/include/linux/mfd/pcf50633/core.h | |||
| @@ -21,6 +21,7 @@ | |||
| 21 | #include <linux/mfd/pcf50633/backlight.h> | 21 | #include <linux/mfd/pcf50633/backlight.h> |
| 22 | 22 | ||
| 23 | struct pcf50633; | 23 | struct pcf50633; |
| 24 | struct regmap; | ||
| 24 | 25 | ||
| 25 | #define PCF50633_NUM_REGULATORS 11 | 26 | #define PCF50633_NUM_REGULATORS 11 |
| 26 | 27 | ||
| @@ -134,7 +135,7 @@ enum { | |||
| 134 | 135 | ||
| 135 | struct pcf50633 { | 136 | struct pcf50633 { |
| 136 | struct device *dev; | 137 | struct device *dev; |
| 137 | struct i2c_client *i2c_client; | 138 | struct regmap *regmap; |
| 138 | 139 | ||
| 139 | struct pcf50633_platform_data *pdata; | 140 | struct pcf50633_platform_data *pdata; |
| 140 | int irq; | 141 | int irq; |
