Skip to content

Commit d74c086

Browse files
committed
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>
1 parent 39ebbd5 commit d74c086

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

drivers/gpio/gpio-reg.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,19 @@
44
*
55
* Copyright (C) 2016 Russell King
66
*/
7-
#include <linux/gpio/driver.h>
8-
#include <linux/gpio/gpio-reg.h>
7+
#include <linux/bits.h>
8+
#include <linux/container_of.h>
9+
#include <linux/device.h>
10+
#include <linux/err.h>
11+
#include <linux/errno.h>
912
#include <linux/io.h>
13+
#include <linux/irqdomain.h>
1014
#include <linux/slab.h>
1115
#include <linux/spinlock.h>
16+
#include <linux/types.h>
17+
18+
#include <linux/gpio/driver.h>
19+
#include <linux/gpio/gpio-reg.h>
1220

1321
struct gpio_reg {
1422
struct gpio_chip gc;

0 commit comments

Comments
 (0)