Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpiolib: split linux/gpio/driver.h out of linux/gpio.h

Almost all gpio drivers include linux/gpio/driver.h, and other
files should not rely on includes from this header.

Remove the indirect include from here and include the correct
headers directly from where they are used.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Lee Jones <lee@kernel.org>

authored by

Arnd Bergmann and committed by
Andy Shevchenko
a8e59744 d74e3166

+5
+1
arch/arm/mach-omap1/irq.c
··· 41 41 #include <linux/sched.h> 42 42 #include <linux/interrupt.h> 43 43 #include <linux/io.h> 44 + #include <linux/irqdomain.h> 44 45 45 46 #include <asm/irq.h> 46 47 #include <asm/exception.h>
+1
arch/arm/mach-orion5x/board-rd88f5182.c
··· 9 9 #include <linux/gpio.h> 10 10 #include <linux/kernel.h> 11 11 #include <linux/init.h> 12 + #include <linux/of.h> 12 13 #include <linux/platform_device.h> 13 14 #include <linux/pci.h> 14 15 #include <linux/irq.h>
+1
arch/arm/mach-sa1100/assabet.c
··· 10 10 #include <linux/kernel.h> 11 11 #include <linux/module.h> 12 12 #include <linux/errno.h> 13 + #include <linux/gpio/driver.h> 13 14 #include <linux/gpio/gpio-reg.h> 14 15 #include <linux/gpio/machine.h> 15 16 #include <linux/gpio_keys.h>
+1
drivers/net/wireless/broadcom/brcm80211/brcmsmac/led.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 #include <net/mac80211.h> 3 3 #include <linux/bcma/bcma_driver_chipcommon.h> 4 + #include <linux/gpio.h> 4 5 #include <linux/gpio/driver.h> 5 6 #include <linux/gpio/machine.h> 6 7 #include <linux/gpio/consumer.h>
+1
include/linux/mfd/ucb1x00.h
··· 10 10 #include <linux/device.h> 11 11 #include <linux/mfd/mcp.h> 12 12 #include <linux/gpio.h> 13 + #include <linux/gpio/driver.h> 13 14 #include <linux/mutex.h> 14 15 15 16 #define UCB_IO_DATA 0x00