Messages in this thread | | | Subject | Re: [PATCH] Give gpiolib an implementation of gpio_is_valid() | From | Ben Nizette <> | Date | Sun, 27 Apr 2008 09:28:28 +1000 |
| |
On Sat, 2008-04-26 at 09:12 -0700, David Brownell wrote: > On Saturday 26 April 2008, Ben Nizette wrote: > > Platforms which use generic (NOP) gpio routines get an implementation of > > gpio_is_valid() (in linux/gpio.h) but the people who actually use gpio > > don't get one. Roll an implementation for gpiolib based on > > gpio_request(); this ought to do for most people. > > There's already a gpio_is_valid() patch in the MM merge queue; > it comes with the documentation, and covers implementations which > include the <asm-generic/gpio.h> header (for cansleep stubs) but > don't use gpiolib. > > So, please wait till RC1, by which time I expect Andrew's queue > will be relatively depleted. :) > Righteo, thanks and sorry for being impatient :-)
--Ben.
| |