Re: [PATCH v2 04/14] GPIO: Add gpio-ingenic driver
From: kbuild test robot
Date: Sun Jan 22 2017 - 11:22:16 EST
Hi Paul,
[auto build test ERROR on linus/master]
[also build test ERROR on v4.10-rc4 next-20170120]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Paul-Cercueil/Ingenic-JZ4740-JZ4780-pinctrl-driver/20170122-232326
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64
All errors (new ones prefixed by >>):
drivers/gpio/gpio-ingenic.c: In function 'ingenic_gpio_direction_input':
>> drivers/gpio/gpio-ingenic.c:253:9: error: implicit declaration of function 'pinctrl_gpio_direction_input' [-Werror=implicit-function-declaration]
return pinctrl_gpio_direction_input(gc->base + offset);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-ingenic.c: In function 'ingenic_gpio_direction_output':
>> drivers/gpio/gpio-ingenic.c:260:9: error: implicit declaration of function 'pinctrl_gpio_direction_output' [-Werror=implicit-function-declaration]
return pinctrl_gpio_direction_output(gc->base + offset);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/pinctrl_gpio_direction_input +253 drivers/gpio/gpio-ingenic.c
247 return (int) gpio_get_value(jzgc, offset);
248 }
249
250 static int ingenic_gpio_direction_input(struct gpio_chip *gc,
251 unsigned int offset)
252 {
> 253 return pinctrl_gpio_direction_input(gc->base + offset);
254 }
255
256 static int ingenic_gpio_direction_output(struct gpio_chip *gc,
257 unsigned int offset, int value)
258 {
259 ingenic_gpio_set(gc, offset, value);
> 260 return pinctrl_gpio_direction_output(gc->base + offset);
261 }
262
263 static const struct of_device_id ingenic_gpio_of_match[] = {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip