diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/gpio/driver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index e2d05fd0e6e3..82fda487453f 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h | |||
| @@ -220,14 +220,14 @@ static inline void *gpiochip_get_data(struct gpio_chip *chip) | |||
| 220 | 220 | ||
| 221 | struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc); | 221 | struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc); |
| 222 | 222 | ||
| 223 | #if IS_ENABLED(CONFIG_GPIO_GENERIC) | ||
| 224 | |||
| 225 | struct bgpio_pdata { | 223 | struct bgpio_pdata { |
| 226 | const char *label; | 224 | const char *label; |
| 227 | int base; | 225 | int base; |
| 228 | int ngpio; | 226 | int ngpio; |
| 229 | }; | 227 | }; |
| 230 | 228 | ||
| 229 | #if IS_ENABLED(CONFIG_GPIO_GENERIC) | ||
| 230 | |||
| 231 | int bgpio_init(struct gpio_chip *gc, struct device *dev, | 231 | int bgpio_init(struct gpio_chip *gc, struct device *dev, |
| 232 | unsigned long sz, void __iomem *dat, void __iomem *set, | 232 | unsigned long sz, void __iomem *dat, void __iomem *set, |
| 233 | void __iomem *clr, void __iomem *dirout, void __iomem *dirin, | 233 | void __iomem *clr, void __iomem *dirout, void __iomem *dirin, |
