From: Martin Tůma Date: Tue, 18 Oct 2022 14:03:37 +0000 (+0200) Subject: i2c: xiic: Add platform module alias X-Git-Tag: v5.15.79~195 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a4d6f165eacfa127bf9a2cfaef6df0d1c1d5c82;p=platform%2Fkernel%2Flinux-rpi.git i2c: xiic: Add platform module alias [ Upstream commit b8caf0a0e04583fb71e21495bef84509182227ea ] 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 Acked-by: Michal Simek Signed-off-by: Wolfram Sang Signed-off-by: Sasha Levin --- diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c index 6123437..34b8da9 100644 --- a/drivers/i2c/busses/i2c-xiic.c +++ b/drivers/i2c/busses/i2c-xiic.c @@ -934,6 +934,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");