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. Link: https://lore.kernel.org/r/20190809144043.476786-6-arnd@arndb.de Acked-by:Sylvain Lemieux <slemieux.tyco@gmail.com> Tested-by:
Sylvain Lemieux <slemieux.tyco@gmail.com> Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
parent
5711e41b
Please register or sign in to comment