]> git.baikalelectronics.ru Git - kernel.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)
commit5112127a1837880e1fb07aa97213714a3d12ba3e
treefed2b7a63e72e2f7e4b133b0814a2140563a1112
parentca92eb1b295b365c96761da6ae3b09ef00012453
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