mips: loongson: use GPIO driver on CONFIG_GPIOLIB
authorAlexandre Courbot <acourbot@nvidia.com>
Sun, 10 Mar 2013 12:22:21 +0000 (21:22 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Wed, 20 Mar 2013 13:48:13 +0000 (22:48 +0900)
commit1b920175062bf5baaa94f50b0b309ceaf47ad019
tree749d69191049dc93d340972356678ed7b356e1d9
parent65e967324200a3cca9b1e903ed624b2a962e7b2b
mips: loongson: use GPIO driver on CONFIG_GPIOLIB

The GPIO driver uses gpiolib, thus it should be compiled when
CONFIG_GPIOLIB is defined and not only CONFIG_GENERIC_GPIO.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/mips/loongson/common/Makefile