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

From: David Brownell
Date: Wed Feb 27 2008 - 19:43:17 EST


> > 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. ...
> >
>
> Looks sane.
>
> > Please include before 2.6.25-final ...
>
> For what reason?

So that 2.6.25 based systems can start to use it. This patch is in that
"safe, can't break any existing code" category, so I don't see a downside.

- Dave


--
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/