git: 9360510b1676 - main - Remove unused fbd_devclass.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 May 2022 22:43:17 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=9360510b167618987f2b552929fba2fa4cb4817b commit 9360510b167618987f2b552929fba2fa4cb4817b Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-26 18:31:11 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-05-06 22:39:30 +0000 Remove unused fbd_devclass. --- sys/arm/nvidia/drm2/tegra_host1x.c | 3 +-- sys/dev/fb/fbd.c | 8 +++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/sys/arm/nvidia/drm2/tegra_host1x.c b/sys/arm/nvidia/drm2/tegra_host1x.c index 6d76beb83cd5..dae5529c7ba1 100644 --- a/sys/arm/nvidia/drm2/tegra_host1x.c +++ b/sys/arm/nvidia/drm2/tegra_host1x.c @@ -640,6 +640,5 @@ EARLY_DRIVER_MODULE(host1x, simplebus, host1x_driver, host1x_devclass, 0, 0, BUS_PASS_BUS); /* Bindings for fbd device. */ -extern devclass_t fbd_devclass; extern driver_t fbd_driver; -DRIVER_MODULE(fbd, host1x, fbd_driver, fbd_devclass, 0, 0); +DRIVER_MODULE(fbd, host1x, fbd_driver, 0, 0); diff --git a/sys/dev/fb/fbd.c b/sys/dev/fb/fbd.c index e577768eafdb..5fda7bcfe2f9 100644 --- a/sys/dev/fb/fbd.c +++ b/sys/dev/fb/fbd.c @@ -362,10 +362,8 @@ driver_t fbd_driver = { sizeof(struct fbd_softc) }; -devclass_t fbd_devclass; - -DRIVER_MODULE(fbd, fb, fbd_driver, fbd_devclass, 0, 0); -DRIVER_MODULE(fbd, drmn, fbd_driver, fbd_devclass, 0, 0); -DRIVER_MODULE(fbd, udl, fbd_driver, fbd_devclass, 0, 0); +DRIVER_MODULE(fbd, fb, fbd_driver, 0, 0); +DRIVER_MODULE(fbd, drmn, fbd_driver, 0, 0); +DRIVER_MODULE(fbd, udl, fbd_driver, 0, 0); MODULE_VERSION(fbd, 1);