Re: [PATCH v2] gpio: devm_gpio_* support should not depend on GPIOLIB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux