git: 1f531265556b - main - jedec_dimm: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:23:01 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1f531265556b1e9031893e6c5e4e85dbd1460b01 commit 1f531265556b1e9031893e6c5e4e85dbd1460b01 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:02 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:02 +0000 jedec_dimm: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/jedec_dimm/jedec_dimm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/jedec_dimm/jedec_dimm.c b/sys/dev/jedec_dimm/jedec_dimm.c index 884da8b51061..fd30aa90105a 100644 --- a/sys/dev/jedec_dimm/jedec_dimm.c +++ b/sys/dev/jedec_dimm/jedec_dimm.c @@ -1007,9 +1007,7 @@ static driver_t jedec_dimm_driver = { .size = sizeof(struct jedec_dimm_softc), }; -static devclass_t jedec_dimm_devclass; - -DRIVER_MODULE(jedec_dimm, smbus, jedec_dimm_driver, jedec_dimm_devclass, 0, 0); +DRIVER_MODULE(jedec_dimm, smbus, jedec_dimm_driver, 0, 0); MODULE_DEPEND(jedec_dimm, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER); MODULE_VERSION(jedec_dimm, 1);