From: Linus Walleij Date: Fri, 5 Apr 2019 02:30:25 +0000 (+0700) Subject: gpiolib: devprop: Fix syntax error X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=182e80eeaff5e0e036cc240f17ece49501dd6d17;p=openwrt%2Fstaging%2Fblogic.git gpiolib: devprop: Fix syntax error EXPORT_SYMBOL_GPL() needs a semicolon at the end, also explicitly include as well. Fixes: 64ebde5b0fdb ("gpiolib: export devprop_gpiochip_set_names()") Acked-by: Jan Kundrát Signed-off-by: Linus Walleij --- 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 #include #include +#include #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);