Skip to content

Commit 39ebbd5

Browse files
committed
gpio: aggregator: 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, drop unused linux/gpio.h and split out the GPIO group of headers. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent a99cc66 commit 39ebbd5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

drivers/gpio/gpio-aggregator.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,20 @@
1010
#include <linux/bitmap.h>
1111
#include <linux/bitops.h>
1212
#include <linux/ctype.h>
13-
#include <linux/gpio.h>
14-
#include <linux/gpio/consumer.h>
15-
#include <linux/gpio/driver.h>
16-
#include <linux/gpio/machine.h>
1713
#include <linux/idr.h>
1814
#include <linux/kernel.h>
1915
#include <linux/module.h>
2016
#include <linux/mutex.h>
2117
#include <linux/overflow.h>
2218
#include <linux/platform_device.h>
19+
#include <linux/slab.h>
2320
#include <linux/spinlock.h>
2421
#include <linux/string.h>
2522

23+
#include <linux/gpio/consumer.h>
24+
#include <linux/gpio/driver.h>
25+
#include <linux/gpio/machine.h>
26+
2627
#define AGGREGATOR_MAX_GPIOS 512
2728

2829
/*

0 commit comments

Comments
 (0)