Re: [PATCH 7/7] iio: pressure: dps310: include what the driver uses

From: Rupesh Majhi

Date: Wed Nov 25 2026 - 02:50:55 EST


On Tue, Nov 24, 2026 at 08:03:59AM +0100, Uwe Kleine-König wrote:
> > +#include <linux/mod_devicetable.h>
>
> don't add <linux/mod_devicetable.h>. I don't know what made you think
> this is needed, but it is not. i2c_device_id is already provided by
> <linux/i2c.h> without the overhead (and useless dependencies).

It was for the of_device_id and acpi_device_id tables. v2 will include
linux/device-id/of.h and linux/device-id/acpi.h for those instead.

Thanks,
Rupesh