Re: [PATCH 1/4] gpio: Add AXP209 GPIO driver

From: kbuild test robot
Date: Wed Mar 09 2016 - 08:09:09 EST

Hi Maxime,

[auto build test ERROR on gpio/for-next]
[also build test ERROR on next-20160309]
[cannot apply to v4.5-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

base: for-next
config: i386-allmodconfig (attached as .config)
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

drivers/gpio/gpio-axp209.c: In function 'axp20x_gpio_probe':
>> drivers/gpio/gpio-axp209.c:126:12: error: 'struct gpio_chip' has no member named 'dev'
gpio-> = &pdev->dev;

vim +126 drivers/gpio/gpio-axp209.c

120 gpio = devm_kzalloc(&pdev->dev, sizeof(*gpio), GFP_KERNEL);
121 if (!gpio)
122 return -ENOMEM;
124 gpio->chip.base = -1;
125 gpio->chip.can_sleep = true;
> 126 gpio-> = &pdev->dev;
127 gpio->chip.label = dev_name(&pdev->dev);
128 gpio->chip.owner = THIS_MODULE;
129 gpio->chip.get = axp20x_gpio_get;

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: Binary data