]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: RB532: Export rb532_gpio_set_func()
authorPhil Sutter <n0-1@freewrt.org>
Thu, 22 Jan 2009 18:32:43 +0000 (19:32 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Jan 2009 21:33:01 +0000 (21:33 +0000)
commitcc3d1b5e7d554b922207ddc5232427bfe3abe24a
treee1f055c238ca395c32cd52a8869204cc148dbc53
parentb210814e5063d0bbff8c5e7218bacbd8b04beecf
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>
arch/mips/include/asm/mach-rc32434/gpio.h
arch/mips/rb532/gpio.c