aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tps65912.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-10-03 10:09:40 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-10-03 15:27:05 +0200
commitea713bc450054aed3114da74bf76cfda64b698d0 (patch)
tree5846b9332fb38171a22be90fbfbcf31255080427 /drivers/gpio/gpio-tps65912.c
parentgpio: make memory-mapped drivers depend on HAS_IOMEM (diff)
downloadlinux-dev-ea713bc450054aed3114da74bf76cfda64b698d0.tar.xz
linux-dev-ea713bc450054aed3114da74bf76cfda64b698d0.zip
gpio: OF: separation of concerns
The generic GPIO library directly implement code for of_find_gpio() which is only used with CONFIG_OF and causes compilation problems on archs that do not even have stubs for OF functions, especially on UM that does not implement any IO remap functions. Move the function to gpiolib-of.c, implement a static inline stub in gpiolib.h returning PTR_ERR(-ENOENT) if CONFIG_OF_GPIO is not set and be done with it. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-tps65912.c')
0 files changed, 0 insertions, 0 deletions