gpiolib: devprop: Fix syntax error
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 5 Apr 2019 02:30:25 +0000 (09:30 +0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Apr 2019 09:20:12 +0000 (11:20 +0200)
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()")
Acked-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-devprop.c

index 0c6f97c09bd9863fa637553a28077788101907a6..53781b2539867b26fb589d527b9524ad0450e5b4 100644 (file)
@@ -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);