git: 36f54203a452 - main - dwwdt: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 21:48:10 UTC
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);