Date: Tue, 23 Aug 2022 16:38:38 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: 6ea773d49a6c - main - pmu_dmc620: Remove unused devclass from DRIVER_MODULE. Message-ID: <202208231638.27NGccrm097278@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=6ea773d49a6cc010a08aebc904122914cfeb9b9a commit 6ea773d49a6cc010a08aebc904122914cfeb9b9a Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-08-23 16:36:12 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-08-23 16:36:12 +0000 pmu_dmc620: Remove unused devclass from DRIVER_MODULE. --- sys/dev/hwpmc/pmu_dmc620.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/hwpmc/pmu_dmc620.c b/sys/dev/hwpmc/pmu_dmc620.c index a0af6ffb6780..b2cb2404693c 100644 --- a/sys/dev/hwpmc/pmu_dmc620.c +++ b/sys/dev/hwpmc/pmu_dmc620.c @@ -270,10 +270,8 @@ static driver_t pmu_dmc620_acpi_driver = { pmu_dmc620_acpi_methods, sizeof(struct pmu_dmc620_softc), }; -static devclass_t pmu_dmc620_acpi_devclass; -DRIVER_MODULE(pmu_dmc620, acpi, pmu_dmc620_acpi_driver, - pmu_dmc620_acpi_devclass, 0, 0); +DRIVER_MODULE(pmu_dmc620, acpi, pmu_dmc620_acpi_driver, 0, 0); /* Reverse dependency. hwpmc needs DMC-620 on ARM64. */ MODULE_DEPEND(pmc, pmu_dmc620, 1, 1, 1); MODULE_VERSION(pmu_dmc620, 1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208231638.27NGccrm097278>