Messages in this thread | | | Date | Tue, 12 Feb 2013 13:35:29 +0100 | Subject | Re: [PATCH v2] gpio: devm_gpio_* support should not depend on GPIOLIB | From | Linus Walleij <> |
| |
On Mon, Feb 11, 2013 at 5:50 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> FWIW I see that the issue is caused by building drivers/gpio/devres.c > with CONFIG_GPIOLIB=n. Should I just turn GPIO_DEVRES off too?
Hm. Shawn just added:
+config GPIO_DEVRES + def_bool y + depends on HAS_IOMEM
Can you please patch the last line like so:
depends on (HAS_IOMEM && GPIOLIB)
I think that's the actual problem... Maybe also move this config option below the GPIOLIB entry. Or move it under the #if GPIOLIB even.
Can you send a patch that works for you?
Yours, Linus Walleij
| |