Re: [PATCH 3/3] leds: add Realtek RTL9300 port LED driver

From: Uwe Kleine-König

Date: Mon Oct 19 2026 - 03:05:30 EST


Hello Ross,

On Sun, Oct 18, 2026 at 12:43:38PM -0700, Ross Cawston wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>

Please don't include <linux/mod_devicetable.h> which pulls in a big
bunch of dependencies on subsystems not used in your driver.
<linux/platform_device.h> already provides of_device_id so you can just
drop the former.

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature