]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Alchemy: add gpio_request/gpio_free stubs for CONFIG_GPIOLIB=n
authorManuel Lauss <manuel.lauss@googlemail.com>
Fri, 28 Aug 2009 09:26:58 +0000 (11:26 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Sep 2009 18:07:42 +0000 (20:07 +0200)
commita1407aa149b5e8634b243fc64a1cce9090d16e3f
treefc2446d45e7ca840cd4c0b070eb8210f013b4659
parent671851eb2e2d3e9aa2d7c9819407ae99e12aaecc
MIPS: Alchemy: add gpio_request/gpio_free stubs for CONFIG_GPIOLIB=n

Some drivers use gpio_request/gpio_free regardless of whether
gpiolib is actually built;  add stubs to work around the ensuing
compile failures.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Tested-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-au1x00/gpio-au1000.h