diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-02-07 17:29:48 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-06 13:33:02 +0300 |
commit | d74c0863fd4ecaeafde6a4bb290dcae90b12d942 (patch) | |
tree | 4b6938acde2c447c51dd1e042a7608a14f697e06 /drivers/gpio/gpio-reg.c | |
parent | 39ebbd52b73db8598e3399ba3ac9333902251975 (diff) | |
download | linux-d74c0863fd4ecaeafde6a4bb290dcae90b12d942.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.
While at it, split out the GPIO group of headers.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-reg.c')
-rw-r--r-- | drivers/gpio/gpio-reg.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-reg.c b/drivers/gpio/gpio-reg.c index d35169bde25a..73c7260d89c0 100644 --- a/drivers/gpio/gpio-reg.c +++ b/drivers/gpio/gpio-reg.c @@ -4,11 +4,19 @@ * * Copyright (C) 2016 Russell King */ -#include <linux/gpio/driver.h> -#include <linux/gpio/gpio-reg.h> +#include <linux/bits.h> +#include <linux/container_of.h> +#include <linux/device.h> +#include <linux/err.h> +#include <linux/errno.h> #include <linux/io.h> +#include <linux/irqdomain.h> #include <linux/slab.h> #include <linux/spinlock.h> +#include <linux/types.h> + +#include <linux/gpio/driver.h> +#include <linux/gpio/gpio-reg.h> struct gpio_reg { struct gpio_chip gc; |