2022-10-18 12:15:43

by Martin Tůma

[permalink] [raw]
Subject: [PATCH v3 1/2] i2c: xiic: Added platform module alias for the xiic I2C driver

From: Martin Tůma <[email protected]>

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]>
---
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("[email protected]");
MODULE_DESCRIPTION("Xilinx I2C bus driver");
MODULE_LICENSE("GPL v2");
--
2.38.0


2022-10-18 12:21:28

by Michal Simek

[permalink] [raw]
Subject: Re: [PATCH v3 1/2] i2c: xiic: Added platform module alias for the xiic I2C driver



On 10/18/22 16:03, [email protected] wrote:
> From: Martin Tůma <[email protected]>
>
> 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]>
> ---
> 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("[email protected]");
> MODULE_DESCRIPTION("Xilinx I2C bus driver");
> MODULE_LICENSE("GPL v2");
> --
> 2.38.0
>

You should likely send it separately because this will go via different
maintainer tree.

Not a problem with this patch.

Acked-by: Michal Simek <[email protected]>

Thanks,
Michal

2022-10-18 14:24:41

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH v3 1/2] i2c: xiic: Added platform module alias for the xiic I2C driver


> You should likely send it separately because this will go via different
> maintainer tree.
>
> Not a problem with this patch.
>
> Acked-by: Michal Simek <[email protected]>

I'll pick it, no problems.


Attachments:
(No filename) (220.00 B)
signature.asc (849.00 B)
Download all attachments

2022-10-19 19:41:47

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH v3 1/2] i2c: xiic: Added platform module alias for the xiic I2C driver

On Tue, Oct 18, 2022 at 04:03:37PM +0200, [email protected] wrote:
> From: Martin Tůma <[email protected]>
>
> 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]>

Applied to for-current, thanks!


Attachments:
(No filename) (364.00 B)
signature.asc (849.00 B)
Download all attachments