git: 42d1b888936a - main - drm2: Remove unused devclass argument to DRIVER_MODULE.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 May 2022 17:36:39 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=42d1b888936a605501ff727df24b3b561dc8a09e commit 42d1b888936a605501ff727df24b3b561dc8a09e 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 drm2: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/drm2/drm_dp_iic_helper.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/dev/drm2/drm_dp_iic_helper.c b/sys/dev/drm2/drm_dp_iic_helper.c index c3f980a3342f..927fd8c7b948 100644 --- a/sys/dev/drm2/drm_dp_iic_helper.c +++ b/sys/dev/drm2/drm_dp_iic_helper.c @@ -268,11 +268,12 @@ static device_method_t drm_iic_dp_aux_methods[] = { DEVMETHOD(iicbus_transfer, iic_dp_aux_xfer), DEVMETHOD_END }; + static driver_t drm_iic_dp_aux_driver = { "drm_iic_dp_aux", drm_iic_dp_aux_methods, sizeof(struct iic_dp_aux_data) }; -static devclass_t drm_iic_dp_aux_devclass; -DRIVER_MODULE_ORDERED(drm_iic_dp_aux, drmn, drm_iic_dp_aux_driver, - drm_iic_dp_aux_devclass, 0, 0, SI_ORDER_SECOND); + +DRIVER_MODULE_ORDERED(drm_iic_dp_aux, drmn, drm_iic_dp_aux_driver, 0, 0, + SI_ORDER_SECOND);