aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/drm2
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-05-10 17:21:39 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2022-05-10 17:21:39 +0000
commit42d1b888936a605501ff727df24b3b561dc8a09e (patch)
tree40d34ac97afe4e04048ca046fc7f775e3f8ff944 /sys/dev/drm2
parentd0eabbc5324fc8ccc90017212d570311713353bc (diff)
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r--sys/dev/drm2/drm_dp_iic_helper.c7
1 files 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);