Re: [PATCH v8 02/22] gpio: regmap: set gpio_chip of_node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 17, 2021 at 4:38 PM Álvaro Fernández Rojas
<noltari@xxxxxxxxx> wrote:
>
> This is needed for properly registering GPIO regmap as a child of a regmap
> pin controller.

...

> +       /* gpiolib will use of_node of the parent if chip->of_node is NULL */
> +       chip->of_node = to_of_node(config->fwnode);

As the kernel bot rightfully noticed this should be under ifdeffery (OF_GPIO?).

-- 
With Best Regards,
Andy Shevchenko




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux