Commit 182e80ee authored by Linus Walleij's avatar Linus Walleij

gpiolib: devprop: Fix syntax error

EXPORT_SYMBOL_GPL() needs a semicolon at the end, also
explicitly include <linux/export.h> as well.

Fixes: 64ebde5b ("gpiolib: export devprop_gpiochip_set_names()")
Acked-by: default avatarJan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 1889ae50
......@@ -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);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment