Re: [PATCH v1 1/1] media: ir-spi: Remove unused of_gpio.h

From: Andy Shevchenko
Date: Tue Mar 05 2024 - 12:38:06 EST


On Tue, Mar 05, 2024 at 09:15:28AM +0000, Sean Young wrote:
> On Mon, Mar 04, 2024 at 08:03:31PM +0200, Andy Shevchenko wrote:

..

> > -#include <linux/of_gpio.h>
>
> This does not build, I get errors saying of_property_read_bool() is undefined.
> I think we need linux/of.h instead of linux/of_gpio.h.

Oh, good catch! The header block there is a mess.
I will replace this patch by something better, I'll Cc you.

--
With Best Regards,
Andy Shevchenko