tree: https://git.kernel.org/pub/scm/linux/kernel/git/kbingham/rcar.git gmsl/eagle-v3m head: 95cd611f492645b1ef7b666b1959184c9984f3c5 commit: dff16714cbb59376484799797ff903fcca8fc3e3 [3/17] media: i2c: max9286: Add GPIO chip controller config: xtensa-randconfig-a001-20191211 (attached as .config) compiler: xtensa-linux-gcc (GCC) 7.5.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 dff16714cbb59376484799797ff903fcca8fc3e3 # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=xtensa If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): drivers/media/i2c/max9286.c: In function 'max9286_gpio': >> drivers/media/i2c/max9286.c:758:6: error: 'struct gpio_chip' has no member named 'of_node' gpio->of_node = dev->of_node; ^~ vim +758 drivers/media/i2c/max9286.c 742 743 static int max9286_gpio(struct max9286_priv *priv) 744 { 745 struct device *dev = &priv->client->dev; 746 struct gpio_chip *gpio = &priv->gpio; 747 int ret; 748 749 static const char * const names[] = { 750 "GPIO0OUT", 751 "GPIO1OUT", 752 }; 753 754 /* Configure the GPIO */ 755 gpio->label = dev_name(dev); 756 gpio->parent = dev; 757 gpio->owner = THIS_MODULE; > 758 gpio->of_node = dev->of_node; 759 gpio->ngpio = 2; 760 gpio->set = max9286_gpio_set; 761 gpio->get = max9286_gpio_get; 762 gpio->can_sleep = true; 763 gpio->names = names; 764 765 /* GPIO values default to high */ 766 priv->gpio_state = BIT(0) | BIT(1); 767 768 ret = devm_gpiochip_add_data(dev, gpio, priv); 769 if (ret) 770 dev_err(dev, "Unable to create gpio_chip\n"); 771 772 return ret; 773 } 774 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation