linux/arch/sh/boards
Geert Uytterhoeven d94ffb99a3 sh: mach-x3proto: Add missing #include <linux/gpio/driver.h>
shx3_defconfig:

    arch/sh/boards/mach-x3proto/setup.c: In function ‘x3proto_devices_setup’:
    arch/sh/boards/mach-x3proto/setup.c:246:62: error: invalid use of undefined type ‘struct gpio_chip’
      246 |                 baseboard_buttons[i].gpio = x3proto_gpio_chip.base + i;
	  |                                                              ^

Fix this by replacing the include of the legacy <linux/gpio.h> by
<linux/gpio/driver.h>.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Link: https://lore.kernel.org/r/CA+G9fYs7suzGsEDK40G0pzxXyR1o2V4Pn-oy1owTsTWRVEVHog@mail.gmail.com
Fixes: 21d9526d13 ("gpiolib: Make the legacy <linux/gpio.h> consumer-only")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2023-03-23 16:22:18 +02:00
..
mach-ap325rxa gpiolib: remove legacy gpio_export() 2023-03-06 12:33:01 +02:00
mach-dreamcast arch/sh/boards/mach-dreamcast/irq.c: Remove duplicate header 2019-05-14 09:47:44 -07:00
mach-ecovec24 mmc: sh_mmcif: move platform_data header to proper location 2022-04-26 14:05:21 +02:00
mach-highlander sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-hp6xx sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-kfr2r09 memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
mach-landisk sh: boards: Fix the cacography in irq.c 2021-09-17 14:00:01 -04:00
mach-lboxre2 sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-microdev treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-migor memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
mach-r2d sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-rsk sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-sdk7780 sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-sdk7786 remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
mach-se Merge branch 'akpm' (patches from Andrew) 2021-11-06 14:08:17 -07:00
mach-sh03 sh: mach-sh03: remove duplicate include 2021-01-06 19:55:28 -05:00
mach-sh7763rdp sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-x3proto sh: mach-x3proto: Add missing #include <linux/gpio/driver.h> 2023-03-23 16:22:18 +02:00
board-apsh4a3a.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-apsh4ad0a.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-edosk7705.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-edosk7760.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-espt.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
board-magicpanelr2.c gpiolib: remove empty asm/gpio.h files 2023-03-06 12:33:01 +02:00
board-polaris.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-secureedge5410.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-sh2007.c sh: sh2007: Modernize printing of kernel messages 2020-08-14 22:05:10 -04:00
board-sh7757lcr.c mmc: sh_mmcif: move platform_data header to proper location 2022-04-26 14:05:21 +02:00
board-sh7785lcr.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
board-shmin.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-titan.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-urquell.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
Kconfig sh: Remove SH5-based Cayman platform 2020-08-14 22:05:06 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
of-generic.c sh: Use of_get_cpu_hwid() 2021-10-20 13:37:24 -05:00