]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: BCM47xx: fix build with GENERIC_GPIO configuration
authorFlorian Fainelli <florian@openwrt.org>
Fri, 4 Nov 2011 10:17:46 +0000 (11:17 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 8 Nov 2011 12:36:04 +0000 (12:36 +0000)
commit78d7911a0540098c57e8b98b0649bfcea74d8870
treec02268b29dd058d2a62f1d9b7e363073a7d76da6
parent0cc96df0a29cfba4eb5d8344811d3881a1b01ea7
MIPS: BCM47xx: fix build with GENERIC_GPIO configuration

Since eb9ae7f2 (gpio: fix build error in include/asm-generic/gpio.h)
the generic version of gpio.h calls __gpio_{set,get}_value which we
do not define. Get rid of asm-generic/gpio.h and define the missing
stubs directly for BCM47xx to build.

Reported-by: Ralf Baechle <ralf@linux-mips.org>
To: linux-mips@linux-mips.org
CC: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Patchwork: https://patchwork.linux-mips.org/patch/2885/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-bcm47xx/gpio.h