[PATCH 1/2] gpio: expose gpio_to_chip()

Linus Walleij linus.walleij at linaro.org
Mon Jun 13 04:43:29 EDT 2011

On Fri, Jun 10, 2011 at 5:57 PM, H Hartley Sweeten
<hartleys at visionengravers.com> wrote:
> On Friday, June 10, 2011 1:49 AM, Linus Walleij wrote:

>> This makes the gpio_to_chip() function available to drivers. The
>> usecase is when you want to add a few chip-specific operations
>> apart from the ones exposed in struct gpio_chip.
> (...)
> Linus,
> You'll need to fix a couple drivers for this to work.  The symbol gpio_to_chip
> is a static symbol in a couple places other than gpiolib.c.

OK I fix! They are confusing anyway so should be patched pronto.

Linus Walleij

More information about the linux-arm-kernel mailing list