[PATCH V17 4/9] iio: imu: inv_icm42607: Add SPI For icm42607
Uwe Kleine-König
u.kleine-koenig at baylibre.com
Fri Jul 17 02:03:12 PDT 2026
Hello Chris,
On Thu, Jul 16, 2026 at 01:26:31PM -0500, Chris Morgan wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/spi/spi.h>
Please don't add an include for <linux/mod_devicetable.h>, I'm working
on removing that header. The two device-id structures you need
(of_device_id and spi_device_id) are already provided by
<linux/spi/spi.h>, so you can just remove the include line for
<linux/mod_devicetable.h>.
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-rockchip/attachments/20260717/4bcbb930/attachment.sig>
More information about the Linux-rockchip
mailing list