From 81de556105b2fb0f85ece868b2289c53b8c3e6ca Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Wed, 26 Jan 2022 10:42:20 +0100 Subject: [PATCH] linuxkpi: i2c: Add MODULE_DEPEND for iicbus MFC after: 1 month MFC with: 1961a14a4743 Fixes: 1961a14a4743 ("linuxkpi: Add i2c support") Reported by: GregV Sponsored by: Beckhoff Automation GmbH & Co. KG --- 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 cd002da49b19..2b68664642da 100644 --- a/sys/compat/linuxkpi/common/src/linux_i2c.c +++ b/sys/compat/linuxkpi/common/src/linux_i2c.c @@ -127,6 +127,7 @@ driver_t lkpi_iic_driver = { DRIVER_MODULE(lkpi_iic, drmn, 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); static int lkpi_i2c_reset(device_t dev, u_char speed, u_char addr, u_char *oldaddr)