lkml.org 
[lkml]   [2022]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2022-09-27 17:39    [W:0.047 / U:0.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site