gpio: ath79: Allow building in compile tests
authorAlban Bedel <albeu@free.fr>
Thu, 28 Jan 2016 19:44:30 +0000 (20:44 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 10 Feb 2016 10:08:31 +0000 (11:08 +0100)
commit409d87838d5755b471933fb2a43f2dfc514ccd2d
tree9ca034311f4b69d45be44efd3fbdb31292b7554e
parentab32770ec8d64254503d85128ba05de41d792ff2
gpio: ath79: Allow building in compile tests

To allow building the driver in compile tests we must drop the
dependency on asm/mach-ath79/ar71xx_regs.h. For this we replace the
include with local definition of the registers needed for this driver.

Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/gpio-ath79.c