git: f49cddbda67d - main - LinuxKPI: Allow lkpi_iic driver to be a child of drm device.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 May 2022 12:11:31 UTC
The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=f49cddbda67d6f49f1794c93270d3d923140d620 commit f49cddbda67d6f49f1794c93270d3d923140d620 Author: Vladimir Kondratyev <wulf@FreeBSD.org> AuthorDate: 2022-05-17 12:10:19 +0000 Commit: Vladimir Kondratyev <wulf@FreeBSD.org> CommitDate: 2022-05-17 12:10:19 +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 --- 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 3d4c0b0b0576..2b19aec8ad16 100644 --- a/sys/compat/linuxkpi/common/src/linux_i2c.c +++ b/sys/compat/linuxkpi/common/src/linux_i2c.c @@ -124,6 +124,7 @@ driver_t lkpi_iic_driver = { }; DRIVER_MODULE(lkpi_iic, drmn, lkpi_iic_driver, 0, 0); +DRIVER_MODULE(lkpi_iic, drm, lkpi_iic_driver, 0, 0); DRIVER_MODULE(iicbus, lkpi_iic, iicbus_driver, 0, 0); MODULE_DEPEND(linuxkpi, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER);