git: 867864a2fbda - main - asmc: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 19:22:30 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=867864a2fbdade32621e5516cf51f84e7163b19a commit 867864a2fbdade32621e5516cf51f84e7163b19a Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-09 19:22:00 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-09 19:22:00 +0000 asmc: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/asmc/asmc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c index 371329443033..37949b52afda 100644 --- a/sys/dev/asmc/asmc.c +++ b/sys/dev/asmc/asmc.c @@ -471,11 +471,9 @@ ACPI_MODULE_NAME("ASMC") /* NB: can't be const */ static char *asmc_ids[] = { "APP0001", NULL }; -static devclass_t asmc_devclass; - static unsigned int light_control = 0; -DRIVER_MODULE(asmc, acpi, asmc_driver, asmc_devclass, NULL, NULL); +DRIVER_MODULE(asmc, acpi, asmc_driver, NULL, NULL); MODULE_DEPEND(asmc, acpi, 1, 1, 1); static const struct asmc_model *