1
0
Fork 0
alistair23-linux/arch/blackfin/mach-bf548
Bjorn Helgaas 288e6eaa06 gpio: Include linux/gpio.h instead of asm/gpio.h
Most arches have an asm/gpio.h that merely includes linux/gpio.h.  The
others select ARCH_HAVE_CUSTOM_GPIO_H, and when that's selected,
linux/gpio.h includes asm/gpio.h.

Therefore, code should include linux/gpio.h instead of including asm/gpio.h
directly.

Remove includes of asm/gpio.h, adding an include of linux/gpio.h when
necessary.

This is a follow-on to 7563bbf89d ("gpiolib/arches: Centralise
bolierplate asm/gpio.h").

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-02-16 00:20:03 +01:00
..
boards gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00
include/mach debug-mmrs: Eliminate all traces of the USB_PHY_TEST MMR 2015-04-23 21:34:31 +08:00
Kconfig blackfin: adi gpio driver and pinctrl driver support 2013-11-15 17:33:42 +08:00
Makefile Blackfin arch: fix bugs and unify BFIN_KERNEL_CLOCK option 2009-01-07 23:14:39 +08:00
dma.c Blackfin: dma: constify MMR pointer array 2011-01-10 07:18:05 -05:00
ints-priority.c Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00