.. | .. |
---|
102 | 102 | #include <linux/kernel.h> |
---|
103 | 103 | #include <linux/types.h> |
---|
104 | 104 | #include <linux/bug.h> |
---|
105 | | -#include <linux/pinctrl/pinctrl.h> |
---|
106 | 105 | |
---|
107 | 106 | struct device; |
---|
108 | 107 | struct gpio_chip; |
---|
.. | .. |
---|
218 | 217 | /* GPIO can never have been requested or set as input */ |
---|
219 | 218 | WARN_ON(1); |
---|
220 | 219 | return -EINVAL; |
---|
221 | | -} |
---|
222 | | - |
---|
223 | | -static inline int gpiochip_lock_as_irq(struct gpio_chip *chip, |
---|
224 | | - unsigned int offset) |
---|
225 | | -{ |
---|
226 | | - WARN_ON(1); |
---|
227 | | - return -EINVAL; |
---|
228 | | -} |
---|
229 | | - |
---|
230 | | -static inline void gpiochip_unlock_as_irq(struct gpio_chip *chip, |
---|
231 | | - unsigned int offset) |
---|
232 | | -{ |
---|
233 | | - WARN_ON(1); |
---|
234 | 220 | } |
---|
235 | 221 | |
---|
236 | 222 | static inline int irq_to_gpio(unsigned irq) |
---|