Date: Mon, 9 May 2022 21:48:10 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 36f54203a452 - main - dwwdt: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205092148.249LmAXs080649@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=36f54203a45202716648f91dd4ba92eba816449c commit 36f54203a45202716648f91dd4ba92eba816449c Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 21:26:46 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 21:26:46 +0000 dwwdt: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/dwwdt/dwwdt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/dwwdt/dwwdt.c b/sys/dev/dwwdt/dwwdt.c index 5cc20c3c9d2f..ad3662ced2d5 100644 --- a/sys/dev/dwwdt/dwwdt.c +++ b/sys/dev/dwwdt/dwwdt.c @@ -84,8 +84,6 @@ struct dwwdt_softc { } sc_status; }; -static devclass_t dwwdt_devclass; - static struct ofw_compat_data compat_data[] = { { "snps,dw-wdt", 1 }, { NULL, 0 } @@ -370,6 +368,6 @@ static driver_t dwwdt_driver = { sizeof(struct dwwdt_softc), }; -DRIVER_MODULE(dwwdt, simplebus, dwwdt_driver, dwwdt_devclass, NULL, NULL); +DRIVER_MODULE(dwwdt, simplebus, dwwdt_driver, NULL, NULL); MODULE_VERSION(dwwdt, 1); OFWBUS_PNP_INFO(compat_data);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205092148.249LmAXs080649>