Re: [PATCH V2 2/3] gpio: xilinx: Add interrupt support

From: Linus Walleij
Date: Fri Jul 24 2020 - 05:22:33 EST


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