Re: [PATCH v3 5/7] rtc: New driver for RTC in Netronix embedded controller

From: Jonathan Neuschäfer
Date: Fri Oct 02 2020 - 19:42:27 EST


On Thu, Sep 24, 2020 at 10:40:11PM +0200, Andreas Kemnade wrote:
> On Thu, 24 Sep 2020 21:24:53 +0200
> Jonathan Neuschäfer <j.neuschaefer@xxxxxxx> wrote:
[...]
> > +static struct platform_driver ntxec_rtc_driver = {
> > + .driver = {
> > + .name = "ntxec-rtc",
> > + },
> > + .probe = ntxec_rtc_probe,
> > +};
> > +module_platform_driver(ntxec_rtc_driver);
> > +
> I think module autoloading will not work without
>
> MODULE_ALIAS("platform:ntxec-rtc");
>
> Same for the pwm device.

Right, I forgot that. Thanks for the reminder!

Jonathan

Attachment: signature.asc
Description: PGP signature