projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3385ab7
)
gpiolib: export gpiochip_get_desc
author
Marco Felsch
<m.felsch@pengutronix.de>
Tue, 25 Feb 2020 09:31:02 +0000
(10:31 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 25 Feb 2020 14:52:56 +0000
(15:52 +0100)
The function was currently used internal by the gpiolib. Since commit
56cc3af4e8c8
("pinctrl: da9062: add driver support") it is also used by
drivers so we need to export the symbol.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Link:
https://lore.kernel.org/r/20200225093102.10964-1-m.felsch@pengutronix.de
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpiolib.c
b/drivers/gpio/gpiolib.c
index 753283486037435f33351e99c67c13e13fe04103..1dbd0e6d240b3028b4fdd9bdcef0d790356aa354 100644
(file)
--- a/
drivers/gpio/gpiolib.c
+++ b/
drivers/gpio/gpiolib.c
@@
-149,6
+149,7
@@
struct gpio_desc *gpiochip_get_desc(struct gpio_chip *chip,
return &gdev->descs[hwnum];
}
+EXPORT_SYMBOL_GPL(gpiochip_get_desc);
/**
* desc_to_gpio - convert a GPIO descriptor to the integer namespace