Re: [PATCH v2] gpio: devm_gpio_* support should not depend on GPIOLIB
From: Linus Walleij
Date: Tue Feb 12 2013 - 07:35:35 EST
On Mon, Feb 11, 2013 at 5:50 PM, Max Filippov <jcmvbkbc@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/