On Fri, Jul 24, 2020 at 6:12 AM kernel test robot <lkp@xxxxxxxxx> wrote: > drivers/gpio/gpio-xilinx.c: In function 'xgpio_probe': > drivers/gpio/gpio-xilinx.c:638:10: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells' > 638 | chip->gc.of_gpio_n_cells = cells; > | ^ > >> drivers/gpio/gpio-xilinx.c:639:10: error: 'struct gpio_chip' has no member named 'of_xlate' > 639 | chip->gc.of_xlate = xgpio_xlate; > | ^ This is probably because your driver needs: depends on OF_GPIO in KConfig Yours, Linus Walleij