Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2022 19:22:30 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 867864a2fbda - main - asmc: Remove unused devclass argument to DRIVER_MODULE.
Message-ID:  <202205091922.249JMUDK084941@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205091922.249JMUDK084941>