1
0
Fork 0
alistair23-linux/arch/avr32/boards/merisc
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
..
Kconfig Add Merisc board support 2009-03-27 15:02:34 +01:00
Makefile Add Merisc board support 2009-03-27 15:02:34 +01:00
display.c video: atmel_lcdfb: fix platform data struct 2013-09-27 09:26:19 +03:00
flash.c Add Merisc board support 2009-03-27 15:02:34 +01:00
merisc.h Add Merisc board support 2009-03-27 15:02:34 +01:00
merisc_sysfs.c driver-core: remove sysdev.h usage. 2011-12-21 16:26:03 -08:00
setup.c gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00