]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: export add/remove lookup table functions
authorAnatolij Gustschin <agust@denx.de>
Thu, 20 Apr 2017 21:23:20 +0000 (23:23 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 May 2017 08:57:47 +0000 (10:57 +0200)
commit226b2242d43d6d2d4a72e394c19fdd2f1b06f29e
tree0fc1ca2890b52f8b7a8122e686725faf2057ff85
parent7b0db5533608eb3864383cc211e56027d39a6cde
gpio: export add/remove lookup table functions

For hot-pluggable devices adding GPIOs dynamically we need to
assemble and add the gpio lookup tables at probe time in modules,
so that requesting these GPIOs in attached drivers can work.
Export lookup table functions for modules.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c