Re: [PATCH v3 2/7] mailbox: sun55i: Add Allwinner A523 message box driver
From: Uwe Kleine-König
Date: Thu Nov 05 2026 - 09:07:23 EST
On Sun, Nov 01, 2026 at 12:57:30PM -0600, Tim Michals wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>
Please don't include <linux/mod_devicetable.h> as this pulls in a lot of
unneeded build dependencies.
<linux/platform_device.h> already provides of_device_id which is all you
seem to use here. If you want full iwyu include <linux/device-id/of.h>
instead.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature