* [RESEND PATCH 0/2] powerpc: Fix module autoload for OF platform drivers
@ 2015-10-20 15:04 Luis de Bethencourt
2015-10-20 15:04 ` [RESEND PATCH 1/2] powerpc: platforms: mpc52xx_lpbfifo: Fix module autoload for OF platform driver Luis de Bethencourt
2015-10-20 15:04 ` [RESEND PATCH 2/2] powerpc: axonram: " Luis de Bethencourt
0 siblings, 2 replies; 5+ messages in thread
From: Luis de Bethencourt @ 2015-10-20 15:04 UTC (permalink / raw)
To: linux-kernel
Cc: linuxppc-dev, mpe, paulus, benh, agust, axboe, jack,
dan.j.williams, matthew.r.wilcox, neilb, ross.zwisler,
Luis de Bethencourt
Hi,
This is a resend of this patch series. It was posted on September 18 [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
Thanks,
Luis
[0] https://lkml.org/lkml/2015/9/18/749
[1] https://lkml.org/lkml/2015/9/18/750
[2] https://lkml.org/lkml/2015/9/18/752
Luis de Bethencourt (2):
powerpc: platforms: mpc52xx_lpbfifo: Fix module autoload for OF
platform driver
powerpc: axonram: Fix module autoload for OF platform driver
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 1 +
arch/powerpc/sysdev/axonram.c | 1 +
2 files changed, 2 insertions(+)
--
2.5.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* [RESEND PATCH 1/2] powerpc: platforms: mpc52xx_lpbfifo: Fix module autoload for OF platform driver
2015-10-20 15:04 [RESEND PATCH 0/2] powerpc: Fix module autoload for OF platform drivers Luis de Bethencourt
@ 2015-10-20 15:04 ` Luis de Bethencourt
2015-10-22 12:24 ` Anatolij Gustschin
2015-10-20 15:04 ` [RESEND PATCH 2/2] powerpc: axonram: " Luis de Bethencourt
1 sibling, 1 reply; 5+ messages in thread
From: Luis de Bethencourt @ 2015-10-20 15:04 UTC (permalink / raw)
To: linux-kernel
Cc: linuxppc-dev, mpe, paulus, benh, agust, axboe, jack,
dan.j.williams, matthew.r.wilcox, neilb, ross.zwisler,
Luis de Bethencourt, Luis de Bethencourt
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>
---
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
index 251dcb9..7bb42a0 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
@@ -568,6 +568,7 @@ static const struct of_device_id mpc52xx_lpbfifo_match[] = {
{ .compatible = "fsl,mpc5200-lpbfifo", },
{},
};
+MODULE_DEVICE_TABLE(of, mpc52xx_lpbfifo_match);
static struct platform_driver mpc52xx_lpbfifo_driver = {
.driver = {
--
2.5.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [RESEND PATCH 2/2] powerpc: axonram: Fix module autoload for OF platform driver
2015-10-20 15:04 [RESEND PATCH 0/2] powerpc: Fix module autoload for OF platform drivers Luis de Bethencourt
2015-10-20 15:04 ` [RESEND PATCH 1/2] powerpc: platforms: mpc52xx_lpbfifo: Fix module autoload for OF platform driver Luis de Bethencourt
@ 2015-10-20 15:04 ` Luis de Bethencourt
2015-11-26 12:15 ` [RESEND, " Michael Ellerman
1 sibling, 1 reply; 5+ messages in thread
From: Luis de Bethencourt @ 2015-10-20 15:04 UTC (permalink / raw)
To: linux-kernel
Cc: linuxppc-dev, mpe, paulus, benh, agust, axboe, jack,
dan.j.williams, matthew.r.wilcox, neilb, ross.zwisler,
Luis de Bethencourt, Luis de Bethencourt
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>
---
arch/powerpc/sysdev/axonram.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c
index d2b79bc..51b41c9 100644
--- a/arch/powerpc/sysdev/axonram.c
+++ b/arch/powerpc/sysdev/axonram.c
@@ -312,6 +312,7 @@ static const struct of_device_id axon_ram_device_id[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, axon_ram_device_id);
static struct platform_driver axon_ram_driver = {
.probe = axon_ram_probe,
--
2.5.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [RESEND PATCH 1/2] powerpc: platforms: mpc52xx_lpbfifo: Fix module autoload for OF platform driver
2015-10-20 15:04 ` [RESEND PATCH 1/2] powerpc: platforms: mpc52xx_lpbfifo: Fix module autoload for OF platform driver Luis de Bethencourt
@ 2015-10-22 12:24 ` Anatolij Gustschin
0 siblings, 0 replies; 5+ messages in thread
From: Anatolij Gustschin @ 2015-10-22 12:24 UTC (permalink / raw)
To: Luis de Bethencourt
Cc: linux-kernel, jack, neilb, axboe, paulus, matthew.r.wilcox,
Luis de Bethencourt, dan.j.williams, linuxppc-dev, ross.zwisler
On Tue, 20 Oct 2015 16:04:12 +0100
Luis de Bethencourt <luisbg@osg.samsung.com> wrote:
> 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>
> ---
> arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c | 1 +
> 1 file changed, 1 insertion(+)
applied to mpc5xxx/next.
Thanks,
Anatolij
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RESEND, 2/2] powerpc: axonram: Fix module autoload for OF platform driver
2015-10-20 15:04 ` [RESEND PATCH 2/2] powerpc: axonram: " Luis de Bethencourt
@ 2015-11-26 12:15 ` Michael Ellerman
0 siblings, 0 replies; 5+ messages in thread
From: Michael Ellerman @ 2015-11-26 12:15 UTC (permalink / raw)
To: Luis de Bethencourt, linux-kernel
Cc: jack, neilb, axboe, paulus, matthew.r.wilcox, Luis de Bethencourt,
Luis de Bethencourt, dan.j.williams, agust, linuxppc-dev,
ross.zwisler
On Tue, 2015-20-10 at 15:04:13 UTC, Luis de Bethencourt wrote:
> 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>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/b4f8144559e172f792f7fa92
cheers
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-26 12:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20 15:04 [RESEND PATCH 0/2] powerpc: Fix module autoload for OF platform drivers Luis de Bethencourt
2015-10-20 15:04 ` [RESEND PATCH 1/2] powerpc: platforms: mpc52xx_lpbfifo: Fix module autoload for OF platform driver Luis de Bethencourt
2015-10-22 12:24 ` Anatolij Gustschin
2015-10-20 15:04 ` [RESEND PATCH 2/2] powerpc: axonram: " Luis de Bethencourt
2015-11-26 12:15 ` [RESEND, " Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).