1
0
Fork 0
alistair23-linux/arch/avr32/boards
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
..
atngw100 avr32: atngw100: remove useless include 2015-11-03 07:23:29 +01:00
atstk1000 video: atmel_lcdfb: fix platform data struct 2013-09-27 09:26:19 +03:00
favr-32 avr32: favr-32: use generic pwm_bl driver 2014-07-09 15:13:33 +02:00
hammerhead avr32: fix error return code 2014-08-07 15:28:35 +02:00
merisc gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00
mimc200 misc: delete mimc200 fram driver 2014-02-28 15:08:46 -08:00