[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201205140253.17fb23d9@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com>
Date: Sat, 5 Dec 2020 14:02:53 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Jonathan Lemon <jonathan.lemon@...il.com>
Cc: <richardcochran@...il.com>, <netdev@...r.kernel.org>,
<kernel-team@...com>
Subject: Re: [PATCH 1/1 v3 net-next] ptp: Add clock driver for the
OpenCompute TimeCard.
On Sat, 5 Dec 2020 13:57:18 -0800 Jakub Kicinski wrote:
> On Thu, 3 Dec 2020 19:51:28 -0800 Jonathan Lemon wrote:
> > +static int __init
> > +ptp_ocp_init(void)
> > +{
> > + int err;
> > +
> > + err = pci_register_driver(&ptp_ocp_driver);
> > + return err;
> > +}
> > +
> > +static void __exit
> > +ptp_ocp_fini(void)
> > +{
> > + pci_unregister_driver(&ptp_ocp_driver);
> > +}
> > +
> > +module_init(ptp_ocp_init);
> > +module_exit(ptp_ocp_fini);
>
> FWIW if you want to send a follow up you can replace all this with:
>
> module_pci_driver(ptp_ocp_driver);
Also consider adding yourself a MAINTAINERS entry.
Powered by blists - more mailing lists