git: 2814052937a0 - main - quicc: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:47 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=2814052937a0beb8e0bc114c8712f0317eb14ee8 commit 2814052937a0beb8e0bc114c8712f0317eb14ee8 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-10 17:21:39 +0000 quicc: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/quicc/quicc_bfe.h | 1 - sys/dev/quicc/quicc_bfe_fdt.c | 2 +- sys/dev/quicc/quicc_core.c | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/quicc/quicc_bfe.h b/sys/dev/quicc/quicc_bfe.h index ea791bc277e3..a4d4ebcf0aa3 100644 --- a/sys/dev/quicc/quicc_bfe.h +++ b/sys/dev/quicc/quicc_bfe.h @@ -55,7 +55,6 @@ struct quicc_softc { int sc_polled:1; }; -extern devclass_t quicc_devclass; extern char quicc_driver_name[]; int quicc_bfe_attach(device_t); diff --git a/sys/dev/quicc/quicc_bfe_fdt.c b/sys/dev/quicc/quicc_bfe_fdt.c index 0888e512a4fd..a05a2d2346d6 100644 --- a/sys/dev/quicc/quicc_bfe_fdt.c +++ b/sys/dev/quicc/quicc_bfe_fdt.c @@ -89,4 +89,4 @@ quicc_fdt_probe(device_t dev) return (quicc_bfe_probe(dev, (uintptr_t)clock)); } -DRIVER_MODULE(quicc, simplebus, quicc_fdt_driver, quicc_devclass, 0, 0); +DRIVER_MODULE(quicc, simplebus, quicc_fdt_driver, 0, 0); diff --git a/sys/dev/quicc/quicc_core.c b/sys/dev/quicc/quicc_core.c index 1a5a15e1e2b1..0aa8c68cb0a2 100644 --- a/sys/dev/quicc/quicc_core.c +++ b/sys/dev/quicc/quicc_core.c @@ -60,7 +60,6 @@ __FBSDID("$FreeBSD$"); #define quicc_write4(r, o, v) \ bus_space_write_4((r)->r_bustag, (r)->r_bushandle, o, v) -devclass_t quicc_devclass; char quicc_driver_name[] = "quicc"; static MALLOC_DEFINE(M_QUICC, "QUICC", "QUICC driver");