[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221101112726.799368-33-sashal@kernel.org>
Date: Tue, 1 Nov 2022 07:27:25 -0400
From: Sasha Levin <sashal@...nel.org>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org
Cc: Martin Tůma <martin.tuma@...iteqautomotive.com>,
Michal Simek <michal.simek@....com>,
Wolfram Sang <wsa@...nel.org>, Sasha Levin <sashal@...nel.org>,
michal.simek@...inx.com, linux-arm-kernel@...ts.infradead.org,
linux-i2c@...r.kernel.org
Subject: [PATCH AUTOSEL 6.0 33/34] i2c: xiic: Add platform module alias
From: Martin Tůma <martin.tuma@...iteqautomotive.com>
[ 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 <martin.tuma@...iteqautomotive.com>
Acked-by: Michal Simek <michal.simek@....com>
Signed-off-by: Wolfram Sang <wsa@...nel.org>
Signed-off-by: Sasha Levin <sashal@...nel.org>
---
drivers/i2c/busses/i2c-xiic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index b3fe6b2aa3ca..277a02455cdd 100644
--- a/drivers/i2c/busses/i2c-xiic.c
+++ b/drivers/i2c/busses/i2c-xiic.c
@@ -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@...ean-labs.com");
MODULE_DESCRIPTION("Xilinx I2C bus driver");
MODULE_LICENSE("GPL v2");
--
2.35.1
Powered by blists - more mailing lists