Message ID | 20190405023436.14900-1-linus.walleij@linaro.org |
---|---|
State | Accepted |
Commit | 182e80eeaff5e0e036cc240f17ece49501dd6d17 |
Headers | show |
Series | gpiolib: devprop: Fix syntax error | expand |
On pátek 5. dubna 2019 4:34:36 CEST, Linus Walleij wrote: > EXPORT_SYMBOL_GPL() needs a semicolon at the end, also > explicitly include <linux/export.h> as well. > > Fixes: 64ebde5b0fdb ("gpiolib: export devprop_gpiochip_set_names()") > Cc: Jan Kundrát <jan.kundrat@cesnet.cz> > Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Jan Kundrát <jan.kundrat@cesnet.cz> "It worked fine in my configuration" :). Sorry for the extra work. With kind regards, Jan
diff --git a/drivers/gpio/gpiolib-devprop.c b/drivers/gpio/gpiolib-devprop.c index 0c6f97c09bd9..53781b253986 100644 --- a/drivers/gpio/gpiolib-devprop.c +++ b/drivers/gpio/gpiolib-devprop.c @@ -10,6 +10,7 @@ #include <linux/slab.h> #include <linux/gpio/consumer.h> #include <linux/gpio/driver.h> +#include <linux/export.h> #include "gpiolib.h" @@ -56,5 +57,4 @@ void devprop_gpiochip_set_names(struct gpio_chip *chip, kfree(names); } - -EXPORT_SYMBOL_GPL(devprop_gpiochip_set_names) +EXPORT_SYMBOL_GPL(devprop_gpiochip_set_names);
EXPORT_SYMBOL_GPL() needs a semicolon at the end, also explicitly include <linux/export.h> as well. Fixes: 64ebde5b0fdb ("gpiolib: export devprop_gpiochip_set_names()") Cc: Jan Kundrát <jan.kundrat@cesnet.cz> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- drivers/gpio/gpiolib-devprop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1