Re: [PATCH v2 2/3] mfd: Add StarFive JHB100 SuperIO driver
From: Uwe Kleine-König
Date: Fri Dec 04 2026 - 03:30:26 EST
Hello,
On Fri, Dec 04, 2026 at 02:06:22PM +0800, Mason Huo wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>
Please don't include <linux/mod_devicetable.h> which introduces many
unneeded definitions and thus unneeded build dependencies.
<linux/platform_device.h> already gives you of_device_id, so you should
be set to just drop <linux/mod_devicetable.h>.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature