On 23 November 2012 18:14, Lee Jones <[email protected]> wrote:
> The STMPE GPIO driver can be used as an IRQ controller by some
> related devices. Here we provide it with its very own IRQ Domain
> so that IRQs can be issued dynamically. This will stand the
> driver in good stead when it is enabled for Device Tree, as this
> it a prerequisite.
>
> Cc: Grant Likely <[email protected]>
> Signed-off-by: Lee Jones <[email protected]>

> diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c

> +const struct irq_domain_ops stmpe_gpio_irq_simple_ops = {

static?

> +       .unmap = stmpe_gpio_irq_unmap,
> +       .map = stmpe_gpio_irq_map,
> +       .xlate = irq_domain_xlate_twocell,
> +};


Reviewed-by: Viresh Kumar <[email protected]>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to