]> git.baikalelectronics.ru Git - kernel.git/commitdiff
i2c: xiic: Add platform module alias
authorMartin Tůma <martin.tuma@digiteqautomotive.com>
Tue, 18 Oct 2022 14:03:37 +0000 (16:03 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 19 Oct 2022 19:33:03 +0000 (21:33 +0200)
The missing "platform" alias is required for the mgb4 v4l2 driver to load
the i2c controller driver when probing the HW.

Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com>
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-xiic.c

index b3fe6b2aa3ca9d75535156e1e8a01d414328d039..277a02455cddd86ce71a85279fcf94218f53094a 100644 (file)
@@ -920,6 +920,7 @@ static struct platform_driver xiic_i2c_driver = {
 
 module_platform_driver(xiic_i2c_driver);
 
+MODULE_ALIAS("platform:" DRIVER_NAME);
 MODULE_AUTHOR("info@mocean-labs.com");
 MODULE_DESCRIPTION("Xilinx I2C bus driver");
 MODULE_LICENSE("GPL v2");