tree:
https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git gmsl/test
head: 3b3d69c2b9469a39bd431d81e06b94a09798ba95
commit: ae36292a5896cc62c6df32279f7d7bb87302d536 [2/16] media: i2c: Add MAX9286 driver
config: ia64-randconfig-a001-20200501 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ae36292a5896cc62c6df32279f7d7bb87302d536
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/media/i2c/max9286.c: In function 'max9286_register_gpio':
> drivers/media/i2c/max9286.c:1031:6: error: 'struct
gpio_chip' has no member named 'of_node'
1031 | gpio->of_node =
dev->of_node;
| ^~
vim +1031 drivers/media/i2c/max9286.c
1015
1016 static int max9286_register_gpio(struct max9286_priv *priv)
1017 {
1018 struct device *dev = &priv->client->dev;
1019 struct gpio_chip *gpio = &priv->gpio;
1020 int ret;
1021
1022 static const char * const names[] = {
1023 "GPIO0OUT",
1024 "GPIO1OUT",
1025 };
1026
1027 /* Configure the GPIO */
1028 gpio->label = dev_name(dev);
1029 gpio->parent = dev;
1030 gpio->owner = THIS_MODULE;
1031 gpio->of_node = dev->of_node;
1032 gpio->ngpio = 2;
1033 gpio->base = -1;
1034 gpio->set = max9286_gpio_set;
1035 gpio->get = max9286_gpio_get;
1036 gpio->can_sleep = true;
1037 gpio->names = names;
1038
1039 /* GPIO values default to high */
1040 priv->gpio_state = BIT(0) | BIT(1);
1041
1042 ret = devm_gpiochip_add_data(dev, gpio, priv);
1043 if (ret)
1044 dev_err(dev, "Unable to create gpio_chip\n");
1045
1046 return ret;
1047 }
1048
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org