mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
gpiolib: devprop: Fix syntax error
EXPORT_SYMBOL_GPL() needs a semicolon at the end, also
explicitly include <linux/export.h> as well.
Fixes: 64ebde5b0f
("gpiolib: export devprop_gpiochip_set_names()")
Acked-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
1889ae50a9
commit
182e80eeaf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user