[PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE()

Subsystems: pcmcia subsystem, the rest · Maintainers: Dominik Brodowski, Linus Torvalds

STALE6724d

3 messages, 2 authors, 2008-05-30 · open the first message on its own page

[PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE()

From: Olof Johansson <hidden>
Date: 2008-05-29 20:05:44

electra_cf: Add MODULE_DEVICE_TABLE()
    
Add a module device table to electra_cf so that modules can be
auto-probed/loaded.
    
[will be included in git pull request later today]
diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c
index 0a6cea1..52d0aa8 100644
--- a/drivers/pcmcia/electra_cf.c
+++ b/drivers/pcmcia/electra_cf.c
@@ -352,6 +352,7 @@ static struct of_device_id electra_cf_match[] = {
 	},
 	{},
 };
+MODULE_DEVICE_TABLE(of, electra_cf_match);
 
 static struct of_platform_driver electra_cf_driver = {
 	.name	   = (char *)driver_name,

Re: [PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE()

From: Stephen Rothwell <hidden>
Date: 2008-05-30 05:25:01

Hi Olof,

On Thu, 29 May 2008 15:05:44 -0500 Olof Johansson [off-list ref] wrote:
electra_cf: Add MODULE_DEVICE_TABLE()
    
Add a module device table to electra_cf so that modules can be
auto-probed/loaded.
    
[will be included in git pull request later today]
No Signed-off-by?
quoted hunk
diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c
index 0a6cea1..52d0aa8 100644
--- a/drivers/pcmcia/electra_cf.c
+++ b/drivers/pcmcia/electra_cf.c
@@ -352,6 +352,7 @@ static struct of_device_id electra_cf_match[] = {
While you are here, want to make that const?

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Re: [PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE()

From: Olof Johansson <hidden>
Date: 2008-05-30 15:07:35

Hi,

On May 30, 2008, at 12:25 AM, Stephen Rothwell wrote:
On Thu, 29 May 2008 15:05:44 -0500 Olof Johansson [off-list ref] wrote:
quoted
electra_cf: Add MODULE_DEVICE_TABLE()

Add a module device table to electra_cf so that modules can be
auto-probed/loaded.

[will be included in git pull request later today]
No Signed-off-by?
It's signed off in my git tree, I normally remove the s-o-b on the postings to avoid having to rebase  if Paul picks it up by mistake from patchwork instead. Kumar usually does that as well.
quoted
diff --git a/drivers/pcmcia/electra_cf.c b/drivers/pcmcia/electra_cf.c
index 0a6cea1..52d0aa8 100644
--- a/drivers/pcmcia/electra_cf.c
+++ b/drivers/pcmcia/electra_cf.c
@@ -352,6 +352,7 @@ static struct of_device_id electra_cf_match[] = {
While you are here, want to make that const?
I'll do that for .27, thanks for pointing it out.


-Olof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help