gpio: sa1100: include <mach/generic.h>
authorArnd Bergmann <arnd@arndb.de>
Wed, 17 May 2023 09:52:53 +0000 (11:52 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 17 May 2023 09:56:24 +0000 (11:56 +0200)
commitebdffe5b1fffa62c91800474c25e3c9f63be2aad
treef907a4e14252039c709e433f7cb4181c5f957f25
parent4cf381bf8e5a4554ddd5f2672c103afac02eba1b
gpio: sa1100: include <mach/generic.h>

sa1100_init_gpio() is declared in a machine specific header so it
can be called from platform code, but the definition is in the device
driver, which causes a warning:

drivers/gpio/gpio-sa1100.c:310:13: error: no previous prototype for 'sa1100_init_gpio' [-Werror=missing-prototypes]

It's already possible to include mach/generic.h from drivers, so add
this one here as well.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-sa1100.c