1 --- drivers/gpu/drm/drm_os_freebsd.c.bak	2022-11-05 15:37:52.826643000 -0400
2 +++ drivers/gpu/drm/drm_os_freebsd.c	2022-11-05 15:38:25.740620000 -0400
3 @@ -202,11 +202,15 @@
4  #if __FreeBSD_version >= 1301505
5  #if __FreeBSD_version >= 1400058
6  DRIVER_MODULE(iicbus, drmn, iicbus_driver, NULL, NULL);
7 +#if defined(__amd64__) || defined(__aarch64__) || defined(__i386__)
8  DRIVER_MODULE(acpi_iicbus, drmn, acpi_iicbus_driver, NULL, NULL);
9 +#endif
10  #else
11  DRIVER_MODULE(iicbus, drmn, iicbus_driver, iicbus_devclass, NULL, NULL);
12 +#if defined(__amd64__) || defined(__aarch64__) || defined(__i386__)
13  DRIVER_MODULE(acpi_iicbus, drmn, acpi_iicbus_driver, iicbus_devclass, NULL,
14      NULL);
15 +#endif
16  #endif
17  MODULE_DEPEND(drmn, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER);
18  MODULE_DEPEND(drmn, iic, 1, 1, 1);
19