Re: [PATCH] gpio: add tps65218 gpio driver

From: kbuild test robot
Date: Sat Oct 24 2015 - 12:55:48 EST


Hi Nicolas,

[auto build test ERROR on gpio/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url: https://github.com/0day-ci/linux/commits/Nicolas-Saenz-Julienne/gpio-add-tps65218-gpio-driver/20151024-003657
config: x86_64-randconfig-x002-201543 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/gpio/gpio-tps65218.c: In function 'tps65218_gpio_probe':
>> drivers/gpio/gpio-tps65218.c:175:26: error: 'struct gpio_chip' has no member named 'of_node'
tps65218_gpio->gpio_chip.of_node = pdev->dev.of_node;
^

vim +175 drivers/gpio/gpio-tps65218.c

169 if (!tps65218_gpio)
170 return -ENOMEM;
171
172 tps65218_gpio->tps65218 = tps65218;
173 tps65218_gpio->gpio_chip = template_chip;
174 tps65218_gpio->gpio_chip.dev = &pdev->dev;
> 175 tps65218_gpio->gpio_chip.of_node = pdev->dev.of_node;
176
177 ret = gpiochip_add(&tps65218_gpio->gpio_chip);
178 if (ret < 0) {

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data