gpio: Include linux/gpio.h instead of asm/gpio.h
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Feb 2016 19:53:23 +0000 (13:53 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Feb 2016 23:20:03 +0000 (00:20 +0100)
commit288e6eaa06877ea925d8dcdac5e56310fa6d8c7c
treecbde3413b52570e524fe196e548749529b0b1ab5
parent047b2f62cda57eba73751b29f3cf3ef6d17ae84f
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 7563bbf89d06 ("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>
24 files changed:
arch/avr32/boards/merisc/setup.c
arch/avr32/mach-at32ap/pio.c
arch/blackfin/kernel/debug-mmrs.c
arch/blackfin/mach-bf538/boards/ezkit.c
arch/blackfin/mach-bf538/ext-gpio.c
arch/blackfin/mach-bf548/boards/cm_bf548.c
arch/blackfin/mach-bf548/boards/ezkit.c
arch/blackfin/mach-bf609/boards/ezkit.c
arch/blackfin/mach-common/ints-priority.c
arch/blackfin/mach-common/pm.c
arch/sh/include/mach-common/mach/magicpanelr2.h
drivers/ata/pata_at91.c
drivers/ata/pata_bf54x.c
drivers/gpio/gpio-mpc5200.c
drivers/mfd/menelaus.c
drivers/mtd/onenand/omap2.c
drivers/pcmcia/bfin_cf_pcmcia.c
drivers/pcmcia/pxa2xx_vpac270.c
drivers/usb/gadget/udc/atmel_usba_udc.c
drivers/usb/host/ohci-at91.c
drivers/video/fbdev/atmel_lcdfb.c
drivers/video/fbdev/omap/lcd_h3.c
drivers/video/fbdev/omap/lcd_osk.c
drivers/video/fbdev/omap/lcd_palmtt.c
This page took 0.030728 seconds and 5 git commands to generate.