[PATCH v4 04/21] pinctrl: starfive: Add StarFive JHB100 sys0 controller driver

Uwe Kleine-König u.kleine-koenig at baylibre.com
Sun Aug 2 15:23:44 PDT 2026


Hello,

On Sat, Aug 01, 2026 at 12:26:54AM -0700, Changhuang Liang wrote:
> +#include <linux/mod_devicetable.h>
> +#include <linux/platform_device.h>

Please don't include <linux/mod_devicetable.h>, which will go away soon.
<linux/platform_device.h> already contains the necessary bits to have
of_device_id defined, so you can just drop the #include for
<linux/mod_devicetable.h>.

This also affects 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-riscv/attachments/20260803/a492bf2f/attachment.sig>


More information about the linux-riscv mailing list