Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1251734 > unrolled thread
| Started by | Luis de Bethencourt <luisbg@osg.samsung.com> |
|---|---|
| First post | 2015-10-20 16:20 +0200 |
| Last post | 2015-10-20 18:20 +0200 |
| Articles | 6 — 2 participants |
Back to article view | Back to linux.kernel
[RESEND PATCH 0/4] i2c: Fix module autoload for OF platform drivers Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-10-20 16:20 +0200
[RESEND PATCH 3/4] i2c: rk3x: Fix module autoload for OF platform driver Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-10-20 16:20 +0200
[RESEND PATCH 2/4] i2c: meson: Fix module autoload for OF platform driver Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-10-20 16:20 +0200
[RESEND PATCH 4/4] i2c: stu300: Fix module autoload for OF platform driver Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-10-20 16:20 +0200
[RESEND PATCH 1/4] i2c: ibm-iic: Fix module autoload for OF platform driver Luis de Bethencourt <luisbg@osg.samsung.com> - 2015-10-20 16:20 +0200
Re: [RESEND PATCH 0/4] i2c: Fix module autoload for OF platform drivers Wolfram Sang <wsa@the-dreams.de> - 2015-10-20 18:20 +0200
| From | Luis de Bethencourt <luisbg@osg.samsung.com> |
|---|---|
| Date | 2015-10-20 16:20 +0200 |
| Subject | [RESEND PATCH 0/4] i2c: Fix module autoload for OF platform drivers |
| Message-ID | <qlFVE-69D-25@gated-at.bofh.it> |
Hello, This is a resend of this patch series. It was posted on September 17. [0] These patches add the missing MODULE_DEVICE_TABLE() for OF to export the information so modules have the correct aliases built-in and autoloading works correctly. A longer explanation by Javier Canillas can be found here: https://lkml.org/lkml/2015/7/30/519 The 4th patch of the series is Acked-by Linus Walleij. [0] https://lkml.org/lkml/2015/9/17/558 [1] https://lkml.org/lkml/2015/9/17/559 [2] https://lkml.org/lkml/2015/9/17/560 [3] https://lkml.org/lkml/2015/9/17/561 [4] https://lkml.org/lkml/2015/9/17/562 Thanks, Luis Luis de Bethencourt (4): i2c: ibm-iic: Fix module autoload for OF platform driver i2c: meson: Fix module autoload for OF platform driver i2c: rk3x: Fix module autoload for OF platform driver i2c: stu300: Fix module autoload for OF platform driver drivers/i2c/busses/i2c-ibm_iic.c | 1 + drivers/i2c/busses/i2c-meson.c | 1 + drivers/i2c/busses/i2c-rk3x.c | 1 + drivers/i2c/busses/i2c-stu300.c | 1 + 4 files changed, 4 insertions(+) -- 2.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Luis de Bethencourt <luisbg@osg.samsung.com> |
|---|---|
| Date | 2015-10-20 16:20 +0200 |
| Subject | [RESEND PATCH 3/4] i2c: rk3x: Fix module autoload for OF platform driver |
| Message-ID | <qlFVF-69D-29@gated-at.bofh.it> |
| In reply to | #1251734 |
From: Luis de Bethencourt <luis@debethencourt.com>
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---
drivers/i2c/busses/i2c-rk3x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c
index 72e97e30..c1935eb 100644
--- a/drivers/i2c/busses/i2c-rk3x.c
+++ b/drivers/i2c/busses/i2c-rk3x.c
@@ -858,6 +858,7 @@ static const struct of_device_id rk3x_i2c_match[] = {
{ .compatible = "rockchip,rk3288-i2c", .data = (void *)&soc_data[2] },
{},
};
+MODULE_DEVICE_TABLE(of, rk3x_i2c_match);
static int rk3x_i2c_probe(struct platform_device *pdev)
{
--
2.5.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Luis de Bethencourt <luisbg@osg.samsung.com> |
|---|---|
| Date | 2015-10-20 16:20 +0200 |
| Subject | [RESEND PATCH 2/4] i2c: meson: Fix module autoload for OF platform driver |
| Message-ID | <qlFVF-69D-37@gated-at.bofh.it> |
| In reply to | #1251734 |
From: Luis de Bethencourt <luis@debethencourt.com>
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---
drivers/i2c/busses/i2c-meson.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/busses/i2c-meson.c
index 5e176ad..71d3929 100644
--- a/drivers/i2c/busses/i2c-meson.c
+++ b/drivers/i2c/busses/i2c-meson.c
@@ -475,6 +475,7 @@ static const struct of_device_id meson_i2c_match[] = {
{ .compatible = "amlogic,meson6-i2c" },
{ },
};
+MODULE_DEVICE_TABLE(of, meson_i2c_match);
static struct platform_driver meson_i2c_driver = {
.probe = meson_i2c_probe,
--
2.5.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Luis de Bethencourt <luisbg@osg.samsung.com> |
|---|---|
| Date | 2015-10-20 16:20 +0200 |
| Subject | [RESEND PATCH 4/4] i2c: stu300: Fix module autoload for OF platform driver |
| Message-ID | <qlFVF-69D-31@gated-at.bofh.it> |
| In reply to | #1251734 |
From: Luis de Bethencourt <luis@debethencourt.com>
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/i2c/busses/i2c-stu300.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/i2c-stu300.c b/drivers/i2c/busses/i2c-stu300.c
index 4885da9..460c134 100644
--- a/drivers/i2c/busses/i2c-stu300.c
+++ b/drivers/i2c/busses/i2c-stu300.c
@@ -977,6 +977,7 @@ static const struct of_device_id stu300_dt_match[] = {
{ .compatible = "st,ddci2c" },
{},
};
+MODULE_DEVICE_TABLE(of, stu300_dt_match);
static struct platform_driver stu300_i2c_driver = {
.driver = {
--
2.5.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Luis de Bethencourt <luisbg@osg.samsung.com> |
|---|---|
| Date | 2015-10-20 16:20 +0200 |
| Subject | [RESEND PATCH 1/4] i2c: ibm-iic: Fix module autoload for OF platform driver |
| Message-ID | <qlFVG-69D-39@gated-at.bofh.it> |
| In reply to | #1251734 |
From: Luis de Bethencourt <luis@debethencourt.com>
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
---
drivers/i2c/busses/i2c-ibm_iic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
index 722f839..ab49230 100644
--- a/drivers/i2c/busses/i2c-ibm_iic.c
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
@@ -798,6 +798,7 @@ static const struct of_device_id ibm_iic_match[] = {
{ .compatible = "ibm,iic", },
{}
};
+MODULE_DEVICE_TABLE(of, ibm_iic_match);
static struct platform_driver ibm_iic_driver = {
.driver = {
--
2.5.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Date | 2015-10-20 18:20 +0200 |
| Subject | Re: [RESEND PATCH 0/4] i2c: Fix module autoload for OF platform drivers |
| Message-ID | <qlHNL-qO-11@gated-at.bofh.it> |
| In reply to | #1251734 |
[Multipart message — attachments visible in raw view] — view raw
On Tue, Oct 20, 2015 at 03:16:26PM +0100, Luis de Bethencourt wrote: > Hello, > > This is a resend of this patch series. It was posted on September 17. [0] > > These patches add the missing MODULE_DEVICE_TABLE() for OF to export > the information so modules have the correct aliases built-in and > autoloading works correctly. > > A longer explanation by Javier Canillas can be found here: > https://lkml.org/lkml/2015/7/30/519 > > The 4th patch of the series is Acked-by Linus Walleij. Applied to for-next, thanks!
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web