Re: [PATCH] gpio: fix build failure: gpiochip_[un]lock*() static/non-static

2019-09-10 Thread John Hubbard
On 9/8/19 12:16 AM, Linus Walleij wrote: On Sat, Sep 7, 2019 at 2:05 AM John Hubbard wrote: While building with !CONFIG_GPIOLIB, I experienced a build failure, because driver.h in that configuration supplies both a static and a non-static version of these routines: I think this is fixed in

Re: [PATCH] gpio: fix build failure: gpiochip_[un]lock*() static/non-static

2019-09-07 Thread Linus Walleij
On Sat, Sep 7, 2019 at 2:05 AM John Hubbard wrote: > While building with !CONFIG_GPIOLIB, I experienced a build failure, > because driver.h in that configuration supplies both a static and > a non-static version of these routines: I think this is fixed in my latest version of the "devel"

[PATCH] gpio: fix build failure: gpiochip_[un]lock*() static/non-static

2019-09-06 Thread John Hubbard
While building with !CONFIG_GPIOLIB, I experienced a build failure, because driver.h in that configuration supplies both a static and a non-static version of these routines: gpiochip_lock_as_irq() gpiochip_unlock_as_irq() Fix this by moving the non-static routines under the scope