lkml.org 
[lkml]   [2024]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 10/10] iio: pressure: mprls0025pa add SPI driver
On Sat, Jan 06, 2024 at 06:02:52PM +0200, Petre Rodan wrote:
> On Sat, Jan 06, 2024 at 05:30:21PM +0200, Andy Shevchenko wrote:
> > On Fri, Dec 29, 2023 at 11:24:38AM +0200, Petre Rodan wrote:
> > > Add SPI component of the driver.

> > > +#include <linux/mod_devicetable.h>
> > > +#include <linux/module.h>
> > > +#include <linux/spi/spi.h>
> > > +#include <linux/stddef.h>
> >
> > Basically here we need additionally these ones:
> >
> > device.h
> > errno.h
> > types.h
>
> ok, I'll add errno.h. the other two are in the shared .h file.

Yes, but it's better to follow IWYI principle. Generally speaking
there is no guarantee that above will be _always_ the case.

Anyway, I leave this to Jonathan.

--
With Best Regards,
Andy Shevchenko



\
 
 \ /
  Last update: 2024-01-06 17:08    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog