Anton Vorontsov wrote:
> +static int qe_gpio_set_dedicated(struct gpio_chip *gc, unsigned int gpio,
> + int func)
> +{
> + struct of_mm_gpio_chip *mm_gc = to_of_mm_gpio_chip(gc);
> + struct qe_gpio_chip *qe_gc = to_qe_gpio_chip(mm_gc);
> + struct port_regs
So far we just restore pre-set dedicated function of the pin.
No need for anything else, so far.
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]>
---
arch/powerpc/sysdev/qe_lib/qe_io.c | 46
1 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/a