[PATCH v2 3/7] mfd: Add a shared BCMBCA PMC3 PMB transport
Uwe Kleine-König
u.kleine-koenig at baylibre.com
Thu Nov 5 06:42:56 PST 2026
Hello Linus,
On Sun, Nov 01, 2026 at 11:14:36PM +0100, Linus Walleij wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>
Please don't include <linux/mod_devicetable.h>.
<linux/platform_device.h> already provides of_device_id. Alternatively
if you insist on full iwyu, include <linux/device-id/of.h> instead.
<linux/mod_devicetable.h> pulls in many definitions that are unused in
this driver and thus introduces unneeded build dependencies.
The same applies to several other patches in this series.
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/20261105/21c20cdb/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list