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>
#include <linux/slab.h>
#include <linux/gpio/consumer.h>
#include <linux/gpio/driver.h>
+#include <linux/export.h>
#include "gpiolib.h"
kfree(names);
}
-
-EXPORT_SYMBOL_GPL(devprop_gpiochip_set_names)
+EXPORT_SYMBOL_GPL(devprop_gpiochip_set_names);