diff options
| author | YueHaibing <[email protected]> | 2019-07-31 12:38:14 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2019-08-14 08:57:18 +0000 |
| commit | 68e03b85474a51ec1921b4d13204782594ef7223 (patch) | |
| tree | 50e0561b9a44b521c906b6cf3a11b91e26294860 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | gpiolib: never report open-drain/source lines as 'input' to user-space (diff) | |
| download | kernel-68e03b85474a51ec1921b4d13204782594ef7223.tar.gz kernel-68e03b85474a51ec1921b4d13204782594ef7223.zip | |
gpio: Fix build error of function redefinition
when do randbuilding, I got this error:
In file included from drivers/hwmon/pmbus/ucd9000.c:19:0:
./include/linux/gpio/driver.h:576:1: error: redefinition of gpiochip_add_pin_range
gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name,
^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/hwmon/pmbus/ucd9000.c:18:0:
./include/linux/gpio.h:245:1: note: previous definition of gpiochip_add_pin_range was here
gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name,
^~~~~~~~~~~~~~~~~~~~~~
Reported-by: Hulk Robot <[email protected]>
Fixes: 964cb341882f ("gpio: move pincontrol calls to <linux/gpio/driver.h>")
Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
