public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: tumic@gpxsee.org
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
	Michal Simek <michal.simek@xilinx.com>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-i2c@vger.kernel.org, "Lizhi Hou" <lizhi.hou@amd.com>,
	"Martin Tůma" <martin.tuma@digiteqautomotive.com>
Subject: [PATCH v3 1/2] i2c: xiic: Added platform module alias for the xiic I2C driver
Date: Tue, 18 Oct 2022 16:03:37 +0200	[thread overview]
Message-ID: <20221018140338.7080-2-tumic@gpxsee.org> (raw)
In-Reply-To: <20221018140338.7080-1-tumic@gpxsee.org>

From: Martin Tůma <martin.tuma@digiteqautomotive.com>

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>
---
 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@mocean-labs.com");
 MODULE_DESCRIPTION("Xilinx I2C bus driver");
 MODULE_LICENSE("GPL v2");
-- 
2.38.0


  reply	other threads:[~2022-10-18 12:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-18 14:03 [PATCH v3 0/2] Digiteq Automotive MGB4 driver tumic
2022-10-18 14:03 ` tumic [this message]
2022-10-18 12:06   ` [PATCH v3 1/2] i2c: xiic: Added platform module alias for the xiic I2C driver Michal Simek
2022-10-18 14:19     ` Wolfram Sang
2022-10-19 19:37   ` Wolfram Sang
2022-10-18 14:03 ` [PATCH v3 2/2] Added Digiteq Automotive MGB4 driver tumic
2022-10-25  3:48   ` kernel test robot
2022-11-04 11:14   ` Hans Verkuil
2022-11-04 14:41     ` Martin Tůma
2022-11-07  9:11       ` Hans Verkuil
2022-11-07 11:38         ` Martin Tůma
2022-11-07 12:44           ` Hans Verkuil
2022-11-07 17:58             ` Martin Tůma
2022-11-04 10:45 ` [PATCH v3 0/2] " Hans Verkuil
2022-11-04 13:05   ` Martin Tůma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221018140338.7080-2-tumic@gpxsee.org \
    --to=tumic@gpxsee.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lizhi.hou@amd.com \
    --cc=martin.tuma@digiteqautomotive.com \
    --cc=mchehab@kernel.org \
    --cc=michal.simek@xilinx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox