Re: [PATCH 4/4] iio: adc: twl4030-madc: add missing of.h include

From: Dmitry Torokhov
Date: Tue Sep 27 2022 - 11:39:13 EST


On Tue, Sep 27, 2022 at 03:24:25PM +0300, Andy Shevchenko wrote:
> On Mon, Sep 26, 2022 at 10:22:16PM -0700, Dmitry Torokhov wrote:
> > The driver is using of_device_id and therefore needs to include
> > of.h header.
>
> As per patch 2 comment, mod_devicetable.h is needed for that.

It also uses of_match_ptr(), so of.h is the one that is needed. I'll
adjust the patch description.

Thanks.

--
Dmitry