diff options
Diffstat (limited to 'include/linux/gpio.h')
-rw-r--r-- | include/linux/gpio.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/gpio.h b/include/linux/gpio.h index 552e3f46e4a3..b8d0e53a802f 100644 --- a/include/linux/gpio.h +++ b/include/linux/gpio.h | |||
@@ -80,6 +80,7 @@ static inline int irq_to_gpio(unsigned int irq) | |||
80 | #include <linux/types.h> | 80 | #include <linux/types.h> |
81 | #include <linux/errno.h> | 81 | #include <linux/errno.h> |
82 | #include <linux/bug.h> | 82 | #include <linux/bug.h> |
83 | #include <linux/pinctrl/pinctrl.h> | ||
83 | 84 | ||
84 | struct device; | 85 | struct device; |
85 | struct gpio_chip; | 86 | struct gpio_chip; |
@@ -220,6 +221,15 @@ gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name, | |||
220 | return -EINVAL; | 221 | return -EINVAL; |
221 | } | 222 | } |
222 | 223 | ||
224 | static inline int | ||
225 | gpiochip_add_pingroup_range(struct gpio_chip *chip, | ||
226 | struct pinctrl_dev *pctldev, | ||
227 | unsigned int gpio_offset, const char *pin_group) | ||
228 | { | ||
229 | WARN_ON(1); | ||
230 | return -EINVAL; | ||
231 | } | ||
232 | |||
223 | static inline void | 233 | static inline void |
224 | gpiochip_remove_pin_ranges(struct gpio_chip *chip) | 234 | gpiochip_remove_pin_ranges(struct gpio_chip *chip) |
225 | { | 235 | { |