Date: Tue, 10 May 2022 17:36:15 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: 725fda594f83 - main - powermac_nvram: Remove unused devclass argument to DRIVER_MODULE. Message-ID: <202205101736.24AHaFob098853@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=725fda594f83fd027c42db4c394db963548f5e92 commit 725fda594f83fd027c42db4c394db963548f5e92 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-10 17:21:38 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 17:21:38 +0000 powermac_nvram: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/powermac_nvram/powermac_nvram.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/powermac_nvram/powermac_nvram.c b/sys/dev/powermac_nvram/powermac_nvram.c index 7c6c4d2bc8a1..7913437bd1fc 100644 --- a/sys/dev/powermac_nvram/powermac_nvram.c +++ b/sys/dev/powermac_nvram/powermac_nvram.c @@ -85,9 +85,7 @@ static driver_t powermac_nvram_driver = { sizeof(struct powermac_nvram_softc) }; -static devclass_t powermac_nvram_devclass; - -DRIVER_MODULE(powermac_nvram, ofwbus, powermac_nvram_driver, powermac_nvram_devclass, 0, 0); +DRIVER_MODULE(powermac_nvram, ofwbus, powermac_nvram_driver, 0, 0); /* * Cdev methods.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205101736.24AHaFob098853>