git: 7bb02a79086a - main - efirtc: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:13 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=7bb02a79086a9bf0720647e92982e6d7c516d6e0
commit 7bb02a79086a9bf0720647e92982e6d7c516d6e0
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-19 21:12:48 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-05-06 22:39:29 +0000
efirtc: Remove unused devclass argument to DRIVER_MODULE.
---
sys/dev/efidev/efirtc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/dev/efidev/efirtc.c b/sys/dev/efidev/efirtc.c
index e5a2ec262bf5..0aacb2c28184 100644
--- a/sys/dev/efidev/efirtc.c
+++ b/sys/dev/efidev/efirtc.c
@@ -195,13 +195,12 @@ static device_method_t efirtc_methods[] = {
DEVMETHOD_END
};
-static devclass_t efirtc_devclass;
static driver_t efirtc_driver = {
"efirtc",
efirtc_methods,
0
};
-DRIVER_MODULE(efirtc, nexus, efirtc_driver, efirtc_devclass, 0, 0);
+DRIVER_MODULE(efirtc, nexus, efirtc_driver, 0, 0);
MODULE_VERSION(efirtc, 1);
MODULE_DEPEND(efirtc, efirt, 1, 1, 1);