bcma: add bcma_chipco_gpio_pull{up,down}
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 20 Nov 2012 22:24:28 +0000 (22:24 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 21 Nov 2012 20:55:51 +0000 (21:55 +0100)
commitea3488f4696fe22811eb19bee7088b732d3f8fe0
tree21928c292726fb44f831353deee3af0ee032e7b0
parentef85fb28305fad7617f307383ebba554a3a891a2
bcma: add bcma_chipco_gpio_pull{up,down}

Add functions to access the GPIO registers for pullup and pulldown.
These are needed for handling gpio registration.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4586
Acked-by: Florian Fainelli <florian@openwrt.org>
drivers/bcma/driver_chipcommon.c
include/linux/bcma/bcma_driver_chipcommon.h