ssb: add ssb_chipco_gpio_pull{up,down}
authorHauke Mehrtens <hauke@hauke-m.de>
Tue, 20 Nov 2012 22:24:31 +0000 (22:24 +0000)
committerJohn Crispin <blogic@openwrt.org>
Wed, 21 Nov 2012 20:55:52 +0000 (21:55 +0100)
commitda22f22e91f0d14d996c7258101575a5a06ddf85
treed10551775ef16fc8da8d49946d53c4bd9b5e2466
parentcf0936b06d8e98a157630e99f647e2ff6d29d7ad
ssb: add ssb_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/4589
Acked-by: Florian Fainelli <florian@openwrt.org>
drivers/ssb/driver_chipcommon.c
include/linux/ssb/ssb_driver_chipcommon.h