]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee2201fd6ba937b9a8935af4c81841ec6d72eefd
tree9ca034311f4b69d45be44efd3fbdb31292b7554e
parent876f5ec9b996f29317c09b2970d5445a9ebfae29
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