[PATCH v2 2/3] iio: proximity: add driver for Sharp GP2AP070S proximity sensor

Uwe Kleine-König u.kleine-koenig at baylibre.com
Thu Jul 30 12:54:23 PDT 2026


Hello,

On Fri, Jul 31, 2026 at 01:01:30AM +0530, Kaustabh Chakraborty wrote:
> +#include <linux/i2c.h>
> [...]
> +#include <linux/mod_devicetable.h>

<linux/i2c.h> is enough to get the definitions for i2c_device_id and
of_device_id. Please rely on that and don't explicitly add an include
for <linux/mod_devicetable.h>. The latter is a dependency hell and is
going away soon.

Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260730/f7a24bc6/attachment.sig>


More information about the linux-arm-kernel mailing list