Messages in this thread |  | | Date | Sat, 6 Jan 2024 18:07:55 +0200 | | From | Andy Shevchenko <> | | Subject | Re: [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
|  |