summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-04-05 09:30:25 +0700
committerLinus Walleij <linus.walleij@linaro.org>2019-04-08 11:20:12 +0200
commit182e80eeaff5e0e036cc240f17ece49501dd6d17 (patch)
tree56234f6c7db6f033df241d2e6e6c8ba6c9d0c4c9 /drivers/gpio
parent1889ae50a906411b38282f11a5ea9a0375bf867f (diff)
gpiolib: devprop: Fix syntax error
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpiolib-devprop.c4
1 files changed, 2 insertions, 2 deletions
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);