Messages in this thread | | | Date | Tue, 27 Sep 2022 08:36:22 -0700 | From | Dmitry Torokhov <> | Subject | Re: [PATCH 4/4] iio: adc: twl4030-madc: add missing of.h include |
| |
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
| |