From mboxrd@z Thu Jan 1 00:00:00 1970 From: linus.walleij@linaro.org (Linus Walleij) Date: Mon, 13 Jun 2011 10:43:29 +0200 Subject: [PATCH 1/2] gpio: expose gpio_to_chip() In-Reply-To: References: <1307695752-28051-1-git-send-email-linus.walleij@stericsson.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Jun 10, 2011 at 5:57 PM, H Hartley Sweeten 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