[PATCH v1 1/5] gpiolib: Introduce gpiochip_count() helper

Andy Shevchenko andriy.shevchenko at linux.intel.com
Mon Mar 28 02:14:15 PDT 2022


On Mon, Mar 28, 2022 at 09:35:25AM +0200, Geert Uytterhoeven wrote:
> On Fri, Mar 25, 2022 at 9:04 PM Andy Shevchenko
> <andriy.shevchenko at linux.intel.com> wrote:

...

> > +               if (device_property_read_bool(child, "gpio-controller"))
> 
> error: passing argument 1 of ‘device_property_read_bool’ from
> incompatible pointer type [-Werror=incompatible-pointer-types]

Oh, thanks! I will fix this in v2.

> So I'm afraid I cannot test patch 3/5 yet ;-)

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-amlogic mailing list