Re: [patch 2.6.25-rc2-git] gpio: <linux/gpio.h> and "no GPIOsupport here" stubs

From: Andrew Morton
Date: Wed Feb 27 2008 - 18:49:56 EST


On Fri, 22 Feb 2008 17:12:17 -0800
David Brownell <david-b@xxxxxxxxxxx> wrote:

> Add a <linux/gpio.h> defining fail/warn stubs for GPIO calls on platforms
> that don't support the GPIO programming interface. That includes the
> arch-specific implementation glue otherwise.
>
> This facilitates a new model for GPIO usage: drivers that can use GPIOs
> if they're available, but don't require them. One example of such a
> driver is NAND driver for various FreeScale chips. On platforms update
> with GPIO support, they can be used instead of a worst-case delay to
> verify that the BUSY signal is off.
>
> (Also includes a couple minor unrelated doc updates.)
>

Looks sane.

> Please include before 2.6.25-final ...

For what reason?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/