Skip to content

Commit b8caf0a

Browse files
tumicdqwsakernel
authored andcommitted
i2c: xiic: Add platform module alias
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 <[email protected]> Acked-by: Michal Simek <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent 9abf231 commit b8caf0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/i2c-xiic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -920,6 +920,7 @@ static struct platform_driver xiic_i2c_driver = {
920920

921921
module_platform_driver(xiic_i2c_driver);
922922

923+
MODULE_ALIAS("platform:" DRIVER_NAME);
923924
MODULE_AUTHOR("[email protected]");
924925
MODULE_DESCRIPTION("Xilinx I2C bus driver");
925926
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)