All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH 0/2] memory: Fix module autoload for OF platform driver
@ 2015-10-04 16:23 Luis de Bethencourt
  2015-10-04 16:23 ` [RESEND PATCH 1/2] memory: fsl-corenet: " Luis de Bethencourt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Luis de Bethencourt @ 2015-10-04 16:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: gregkh, arm, scottwood, wsa, ssantosh, Luis de Bethencourt

Hi,

Resending this patch series as requested by Greg. So he can have them in his
queue for picking up.
https://lkml.org/lkml/2015/10/4/76

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

Luis de Bethencourt (2):
  memory: fsl-corenet: Fix module autoload for OF platform driver
  memory: ti-aemif: Fix module autoload for OF platform driver

 drivers/memory/fsl-corenet-cf.c | 1 +
 drivers/memory/ti-aemif.c       | 1 +
 2 files changed, 2 insertions(+)

-- 
2.5.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [RESEND PATCH 1/2] memory: fsl-corenet: Fix module autoload for OF platform driver
  2015-10-04 16:23 [RESEND PATCH 0/2] memory: Fix module autoload for OF platform driver Luis de Bethencourt
@ 2015-10-04 16:23 ` Luis de Bethencourt
  2015-10-04 16:23 ` [RESEND PATCH 2/2] memory: ti-aemif: " Luis de Bethencourt
  2015-10-05  3:36 ` [RESEND PATCH 0/2] memory: " santosh.shilimkar
  2 siblings, 0 replies; 4+ messages in thread
From: Luis de Bethencourt @ 2015-10-04 16:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: gregkh, arm, scottwood, wsa, ssantosh, Luis de Bethencourt

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: Scott Wood <scottwood@freescale.com>
---
 drivers/memory/fsl-corenet-cf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/memory/fsl-corenet-cf.c b/drivers/memory/fsl-corenet-cf.c
index d708ded..662d050 100644
--- a/drivers/memory/fsl-corenet-cf.c
+++ b/drivers/memory/fsl-corenet-cf.c
@@ -61,6 +61,7 @@ static const struct of_device_id ccf_matches[] = {
 	},
 	{}
 };
+MODULE_DEVICE_TABLE(of, ccf_matches);
 
 struct ccf_err_regs {
 	u32 errdet;		/* 0x00 Error Detect Register */
-- 
2.5.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [RESEND PATCH 2/2] memory: ti-aemif: Fix module autoload for OF platform driver
  2015-10-04 16:23 [RESEND PATCH 0/2] memory: Fix module autoload for OF platform driver Luis de Bethencourt
  2015-10-04 16:23 ` [RESEND PATCH 1/2] memory: fsl-corenet: " Luis de Bethencourt
@ 2015-10-04 16:23 ` Luis de Bethencourt
  2015-10-05  3:36 ` [RESEND PATCH 0/2] memory: " santosh.shilimkar
  2 siblings, 0 replies; 4+ messages in thread
From: Luis de Bethencourt @ 2015-10-04 16:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: gregkh, arm, scottwood, wsa, ssantosh, Luis de Bethencourt

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/memory/ti-aemif.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c
index ca7d97a..a579a0f 100644
--- a/drivers/memory/ti-aemif.c
+++ b/drivers/memory/ti-aemif.c
@@ -324,6 +324,7 @@ static const struct of_device_id aemif_of_match[] = {
 	{ .compatible = "ti,da850-aemif", },
 	{},
 };
+MODULE_DEVICE_TABLE(of, aemif_of_match);
 
 static int aemif_probe(struct platform_device *pdev)
 {
-- 
2.5.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RESEND PATCH 0/2] memory: Fix module autoload for OF platform driver
  2015-10-04 16:23 [RESEND PATCH 0/2] memory: Fix module autoload for OF platform driver Luis de Bethencourt
  2015-10-04 16:23 ` [RESEND PATCH 1/2] memory: fsl-corenet: " Luis de Bethencourt
  2015-10-04 16:23 ` [RESEND PATCH 2/2] memory: ti-aemif: " Luis de Bethencourt
@ 2015-10-05  3:36 ` santosh.shilimkar
  2 siblings, 0 replies; 4+ messages in thread
From: santosh.shilimkar @ 2015-10-05  3:36 UTC (permalink / raw)
  To: Luis de Bethencourt, linux-kernel; +Cc: gregkh, arm, scottwood, wsa, ssantosh



On 10/4/15 9:23 AM, Luis de Bethencourt wrote:
> Hi,
>
> Resending this patch series as requested by Greg. So he can have them in his
> queue for picking up.
> https://lkml.org/lkml/2015/10/4/76
>
> 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
>
> Luis de Bethencourt (2):
>    memory: fsl-corenet: Fix module autoload for OF platform driver
>    memory: ti-aemif: Fix module autoload for OF platform driver
>
Acking them second time since author missed to pick the tag ;-)

Acked-by: Santosh Shilimkar <ssantosh@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-05  3:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-04 16:23 [RESEND PATCH 0/2] memory: Fix module autoload for OF platform driver Luis de Bethencourt
2015-10-04 16:23 ` [RESEND PATCH 1/2] memory: fsl-corenet: " Luis de Bethencourt
2015-10-04 16:23 ` [RESEND PATCH 2/2] memory: ti-aemif: " Luis de Bethencourt
2015-10-05  3:36 ` [RESEND PATCH 0/2] memory: " santosh.shilimkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.