Skip to content

Commit e79098a

Browse files
committed
gpio: regmap: 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 d74c086 commit e79098a

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

drivers/gpio/gpio-regmap.c

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,17 @@
55
* Copyright 2020 Michael Walle <michael@walle.cc>
66
*/
77

8-
#include <linux/gpio/driver.h>
9-
#include <linux/gpio/regmap.h>
10-
#include <linux/kernel.h>
8+
#include <linux/bits.h>
9+
#include <linux/device.h>
10+
#include <linux/err.h>
11+
#include <linux/io.h>
1112
#include <linux/module.h>
1213
#include <linux/regmap.h>
14+
#include <linux/slab.h>
15+
#include <linux/types.h>
16+
17+
#include <linux/gpio/driver.h>
18+
#include <linux/gpio/regmap.h>
1319

1420
struct gpio_regmap {
1521
struct device *parent;

0 commit comments

Comments
 (0)