Re: [PATCH v13 2/3] clk: eswin: Add eic7700 clock driver
From: Brian Masney
Date: Mon Feb 16 2026 - 20:09:40 EST
On Mon, Feb 16, 2026 at 12:17:09PM -0500, Brian Masney wrote:
> On Sat, Feb 14, 2026 at 06:15:19PM +0800, dongxuyang@xxxxxxxxxxxxxxxxxx wrote:
> > +static const struct of_device_id eic7700_clock_dt_ids[] = {
> > + { .compatible = "eswin,eic7700-clock", },
> > + { /* sentinel */ }
> > +};
> > +MODULE_DEVICE_TABLE(of, eic7700_clock_dt_ids);
> > +
> > +static struct platform_driver eic7700_clock_driver = {
> > + .probe = eic7700_clk_probe,
> > + .driver = {
> > + .name = "eic7700-clock",
> > + .of_match_table = eic7700_clock_dt_ids,
> > + },
> > +};
> > +module_platform_driver(eic7700_clock_driver);
> > +
> > +MODULE_LICENSE("GPL");
> > +MODULE_AUTHOR("Yifeng Huang<huangyifeng@xxxxxxxxxxxxxxxxxx>");
> > +MODULE_AUTHOR("Xuyang Dong<dongxuyang@xxxxxxxxxxxxxxxxxx>");
> > +MODULE_DESCRIPTION("ESWIN EIC7700 clock controller driver");
>
> MODULE_ALIAS("platform:eic7700-clk")
Ignore the MODULE_ALIAS suggestion from me. The list of aliases will be
automatically generated based on what's in MODULE_DEVICE_TABLE(). I
verified this with modinfo.
Brian