Re: [PATCH 2/2] leds: Add StarFive JHB100 heartbeat LED driver
From: Uwe Kleine-König
Date: Fri Dec 04 2026 - 03:28:52 EST
On Fri, Dec 04, 2026 at 10:07:02AM +0800, lianfeng.ouyang wrote:
> +#include <linux/mod_devicetable.h>
> +#include <linux/module.h>
> +#include <linux/platform_device.h>
Please don't include <linux/mod_devicetable.h> that I work on to delete.
<linux/platform_device.h> already gives you of_device_id, so you should
be able to just drop the former.
Best regards
Uwe
Attachment:
signature.asc
Description: PGP signature