MIPS: Alchemy: Update Au1300 inlined GPIO macros
authorManuel Lauss <manuel.lauss@googlemail.com>
Sat, 14 Jan 2012 09:44:15 +0000 (10:44 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 20 Feb 2012 17:33:18 +0000 (18:33 +0100)
commit3624919c24227e56c9d9717a5c86e077a2570cf3
tree9a448ff0f65a7c3261b62a6d2977a07e11ea5ee1
parent35d1a455b987e6a3768370f05eeced8908e77bcc
MIPS: Alchemy: Update Au1300 inlined GPIO macros

Add a few missing macros for the inlined (!CONFIG_GPIOLIB) GPIO case.
Fixes a build failure in the mmc core due to missing gpio_request_one()
function:
mmc/core/cd-gpio.c: In function 'mmc_cd_gpio_request':
mmc/core/cd-gpio.c:43:2: error: implicit declaration of function 'gpio_request_one' [-Werror=implicit-function-declaration]

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3268/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-au1x00/gpio-au1300.h