]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: lpc32xx: allow building on non-lpc32xx targets
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Aug 2019 14:40:31 +0000 (16:40 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 12 Aug 2019 07:10:00 +0000 (09:10 +0200)
commitf2ee73147a3f23cc4b032a76b5677b4b8441ba74
treefed2b7a63e72e2f7e4b133b0814a2140563a1112
parentf4160faac98c36556231621b03b44b646508b08e
gpio: lpc32xx: allow building on non-lpc32xx targets

The driver uses hardwire MMIO addresses instead of the data
that is passed in device tree. Change it over to only
hardcode the register offset values and allow compile-testing.

Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Tested-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
arch/arm/configs/lpc32xx_defconfig
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-lpc32xx.c