Re: [PATCH v4 2/2] i2c: Add Synopsys Advanced I2C (DWC_i2c) driver
From: Uwe Kleine-König
Date: Wed Oct 28 2026 - 03:14:40 EST
Hello,
On Tue, Oct 27, 2026 at 05:00:36PM +0530, Aniket Limaye wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>
Please don't include <linux/mod_devicetable.h>.
<linux/platform_device.h> already gives you everything you'd expect from
<linux/mod_devicetable.h> without introducing a bunch of unneeded build
dependencies.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature