diff options
author | Phil Sutter <n0-1@freewrt.org> | 2009-01-22 19:32:43 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-01-30 21:33:01 +0000 |
commit | 0fc6bc0d6e953f6dd80c286c889d8d581e8f8d7a (patch) | |
tree | e1f055c238ca395c32cd52a8869204cc148dbc53 /arch/mips/include | |
parent | 3828ee047d3c8e0d0e8e9f4d738bd8593220299a (diff) | |
download | blackbird-op-linux-0fc6bc0d6e953f6dd80c286c889d8d581e8f8d7a.tar.gz blackbird-op-linux-0fc6bc0d6e953f6dd80c286c889d8d581e8f8d7a.zip |
MIPS: RB532: Export rb532_gpio_set_func()
This kernel symbol provides a way for drivers to switch on alternate
function for a certain GPIO pin. Turning it off is done implicitly when
changing the GPIO direction, as that would be fixed when using the given
pin als alternate function.
Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/mach-rc32434/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-rc32434/gpio.h b/arch/mips/include/asm/mach-rc32434/gpio.h index ca92c81f4067..3cb50d17b62d 100644 --- a/arch/mips/include/asm/mach-rc32434/gpio.h +++ b/arch/mips/include/asm/mach-rc32434/gpio.h @@ -82,5 +82,6 @@ struct rb532_gpio_reg { extern void rb532_gpio_set_ilevel(int bit, unsigned gpio); extern void rb532_gpio_set_istat(int bit, unsigned gpio); +extern void rb532_gpio_set_func(unsigned gpio); #endif /* _RC32434_GPIO_H_ */ |