Message ID | 20190911143858.13024-3-geert+renesas@glider.be (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | gpio: Add GPIO Aggregator Driver | expand |
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index dbecf266be5a5a2a..c2cf01fb72a9de87 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -95,6 +95,7 @@ static inline void desc_set_label(struct gpio_desc *d, const char *label) { d->label = label; } +EXPORT_SYMBOL_GPL(gpiochip_get_desc); /** * gpio_to_desc - Convert a GPIO number to its descriptor
Export the gpiochip_get_desc() symbol, so modular GPIO driver can make use of this function again. This is a partial revert of commit 1bd6b601fe196b6f ("gpio: make gpiochip_get_desc() gpiolib-private"). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> --- ERROR: "gpiochip_get_desc" [drivers/gpio/gpio-aggregator.ko] undefined! --- drivers/gpio/gpiolib.c | 1 + 1 file changed, 1 insertion(+)