git: a646c45756cd - stable/13 - LinuxKPI: Allow lkpi_iic driver to be a child of drm device.

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 21 Jun 2022 15:23:12 UTC
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=a646c45756cd2798f370fa18e6bb6f46f2381711

commit a646c45756cd2798f370fa18e6bb6f46f2381711
Author:     Vladimir Kondratyev <wulf@FreeBSD.org>
AuthorDate: 2022-05-17 12:10:19 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-06-21 15:13:57 +0000

    LinuxKPI: Allow lkpi_iic driver to be a child of drm device.
    
    i915kms exposes "AUX #/port #" I2C adapters as drm children
    
    MFC after:      1 week
    Reviewed by:    hselasky, manu
    Differential Revision:  https://reviews.freebsd.org/D35046
    
    (cherry picked from commit f49cddbda67d6f49f1794c93270d3d923140d620)
---
 sys/compat/linuxkpi/common/src/linux_i2c.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/src/linux_i2c.c b/sys/compat/linuxkpi/common/src/linux_i2c.c
index 2b68664642da..ef264abd3fd4 100644
--- a/sys/compat/linuxkpi/common/src/linux_i2c.c
+++ b/sys/compat/linuxkpi/common/src/linux_i2c.c
@@ -126,6 +126,7 @@ driver_t lkpi_iic_driver = {
 };
 
 DRIVER_MODULE(lkpi_iic, drmn, lkpi_iic_driver, lkpi_iic_devclass, 0, 0);
+DRIVER_MODULE(lkpi_iic, drm, lkpi_iic_driver, lkpi_iic_devclass, 0, 0);
 DRIVER_MODULE(iicbus, lkpi_iic, iicbus_driver, iicbus_devclass, 0, 0);
 MODULE_DEPEND(linuxkpi, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER);