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

Changhuang Liang changhuang.liang at starfivetech.com
Mon Aug 3 18:09:46 PDT 2026


Hi, Uwe

Thanks for the review.

> 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.

Will drop <linux/mod_devicetable.h> in v5.

Best Reagrds,
Changhuang



More information about the linux-riscv mailing list