diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-07 16:44:44 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-10-24 12:29:36 +0300 |
commit | 36805be775ae30e8c7c390f825e7a2528c260d29 (patch) | |
tree | bfff7faea0bec94b08a7f61048fdf9bdf0d6e9b0 /include/linux/gpio | |
parent | 5b937a837c0d4c649fcbd9def10570b5d337898c (diff) | |
download | linux-36805be775ae30e8c7c390f825e7a2528c260d29.tar.xz |
gpio: reg: Add missing header(s)
Do not imply that some of the generic headers may be always included.
Instead, include explicitly what we are direct user of.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux/gpio')
-rw-r--r-- | include/linux/gpio/gpio-reg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/gpio/gpio-reg.h b/include/linux/gpio/gpio-reg.h index 39b888c40b39..3913b6660ed1 100644 --- a/include/linux/gpio/gpio-reg.h +++ b/include/linux/gpio/gpio-reg.h @@ -2,9 +2,13 @@ #ifndef GPIO_REG_H #define GPIO_REG_H +#include <linux/types.h> + struct device; struct irq_domain; +struct gpio_chip; + struct gpio_chip *gpio_reg_init(struct device *dev, void __iomem *reg, int base, int num, const char *label, u32 direction, u32 def_out, const char *const *names, struct irq_domain *irqdom, const int *irqs); |