On Tue, 8 Jan 2008 21:45:18 +0300 Anton Vorontsov <[EMAIL PROTECTED]> wrote:
>
> +int of_mm_gpiochip_add(struct device_node *np,
> +const struct of_gpio_chip *of_gc)
> +{
> + int ret = -ENOMEM;
> + struct of_mm_gpio_chip *mm_gc;
> +
> + mm_gc = kzalloc(sizeof(*mm_gc)
This patch implements support for the GPIO LIB API. Two calls
unimplemented though: irq_to_gpio and gpio_to_irq.
Various OF helpers provided to ease life and reduce code duplication.
Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]>
---
Documentation/powerpc/booting-without-of.txt | 58 ++