diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-31 20:38:14 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-10 10:35:15 +0100 |
commit | 1dcb0d4eaf85e9c2173b21c3f23a2e9ef324ecd7 (patch) | |
tree | 12c0e0c58d37360f8dfb560eed6c90effee116c7 /net | |
parent | f6bd80bc62231a281b757059f8a7b1d8663d586a (diff) | |
download | linux-stable-1dcb0d4eaf85e9c2173b21c3f23a2e9ef324ecd7.tar.gz linux-stable-1dcb0d4eaf85e9c2173b21c3f23a2e9ef324ecd7.tar.bz2 linux-stable-1dcb0d4eaf85e9c2173b21c3f23a2e9ef324ecd7.zip |
gpio: Fix build error of function redefinition
[ Upstream commit 68e03b85474a51ec1921b4d13204782594ef7223 ]
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 <hulkci@huawei.com>
Fixes: 964cb341882f ("gpio: move pincontrol calls to <linux/gpio/driver.h>")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190731123814.46624-1-yuehaibing@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions