git: 7707822db5b6 - main - dpms: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:47 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=7707822db5b64516489315ff20b7c42840919479 commit 7707822db5b64516489315ff20b7c42840919479 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:01 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:01 +0000 dpms: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/dpms/dpms.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/dpms/dpms.c b/sys/dev/dpms/dpms.c index 45f1f6f9b713..727c2d47960b 100644 --- a/sys/dev/dpms/dpms.c +++ b/sys/dev/dpms/dpms.c @@ -118,9 +118,7 @@ static driver_t dpms_driver = { sizeof(struct dpms_softc), }; -static devclass_t dpms_devclass; - -DRIVER_MODULE(dpms, vgapm, dpms_driver, dpms_devclass, NULL, NULL); +DRIVER_MODULE(dpms, vgapm, dpms_driver, NULL, NULL); MODULE_DEPEND(dpms, x86bios, 1, 1, 1); static void