Re: [PATCH] gpio: Guard devm_* functions behind CONFIG_GPIO_DEVRES not CONFIG_GPIOLIB

2016-11-15 Thread Linus Walleij
On Thu, Nov 10, 2016 at 2:56 AM, Keno Fischer wrote: > These functions are defined in devres.c, which only gets compiled with > CONFIG_GPIO_DEVRES (in addition to CONFIG_GPIOLIB). However, in the > header files, the difference between the declaration and the inline > stub was only guarded by CONF

[PATCH] gpio: Guard devm_* functions behind CONFIG_GPIO_DEVRES not CONFIG_GPIOLIB

2016-11-09 Thread Keno Fischer
These functions are defined in devres.c, which only gets compiled with CONFIG_GPIO_DEVRES (in addition to CONFIG_GPIOLIB). However, in the header files, the difference between the declaration and the inline stub was only guarded by CONFIG_GPIOLIB, not CONFIG_GPIO_DEVRES, causing undefined symbol pr