diff options
| author | Pavel Machek <pavel@ucw.cz> | 2018-09-11 17:01:33 -0400 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2018-10-23 03:58:34 -0400 |
| commit | 7a6a395b16c3fdcd2ede2b0ce4bf63f6dafc1fea (patch) | |
| tree | 69c670af2f7c852dcfa468fb9940ea369c8f44ac /include/linux/mfd | |
| parent | 5b6850fa90c581f3743bb369861074d23d0e9f3c (diff) | |
mfd: ti-lmu: Switch to GPIOD
Use new descriptor based API instead of the legacy one.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
| -rw-r--r-- | include/linux/mfd/ti-lmu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/ti-lmu.h b/include/linux/mfd/ti-lmu.h index 09d5f30384e5..1ef51ed36be5 100644 --- a/include/linux/mfd/ti-lmu.h +++ b/include/linux/mfd/ti-lmu.h | |||
| @@ -16,6 +16,7 @@ | |||
| 16 | #include <linux/gpio.h> | 16 | #include <linux/gpio.h> |
| 17 | #include <linux/notifier.h> | 17 | #include <linux/notifier.h> |
| 18 | #include <linux/regmap.h> | 18 | #include <linux/regmap.h> |
| 19 | #include <linux/gpio/consumer.h> | ||
| 19 | 20 | ||
| 20 | /* Notifier event */ | 21 | /* Notifier event */ |
| 21 | #define LMU_EVENT_MONITOR_DONE 0x01 | 22 | #define LMU_EVENT_MONITOR_DONE 0x01 |
| @@ -81,7 +82,7 @@ enum lm363x_regulator_id { | |||
| 81 | struct ti_lmu { | 82 | struct ti_lmu { |
| 82 | struct device *dev; | 83 | struct device *dev; |
| 83 | struct regmap *regmap; | 84 | struct regmap *regmap; |
| 84 | int en_gpio; | 85 | struct gpio_desc *en_gpio; |
| 85 | struct blocking_notifier_head notifier; | 86 | struct blocking_notifier_head notifier; |
| 86 | }; | 87 | }; |
| 87 | #endif | 88 | #endif |
