linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE()
@ 2008-05-29 20:05 Olof Johansson
  2008-05-30  5:25 ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Olof Johansson @ 2008-05-29 20:05 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: pasemi-linux

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,

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

* Re: [PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE()
  2008-05-29 20:05 [PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE() Olof Johansson
@ 2008-05-30  5:25 ` Stephen Rothwell
  2008-05-30 15:07   ` Olof Johansson
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2008-05-30  5:25 UTC (permalink / raw)
  To: Olof Johansson; +Cc: linuxppc-dev, pasemi-linux

[-- Attachment #1: Type: text/plain, Size: 724 bytes --]

Hi Olof,

On Thu, 29 May 2008 15:05:44 -0500 Olof Johansson <olof@lixom.net> 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?

> 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/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE()
  2008-05-30  5:25 ` Stephen Rothwell
@ 2008-05-30 15:07   ` Olof Johansson
  0 siblings, 0 replies; 3+ messages in thread
From: Olof Johansson @ 2008-05-30 15:07 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linuxppc-dev, pasemi-linux

Hi,

On May 30, 2008, at 12:25 AM, Stephen Rothwell wrote:

> On Thu, 29 May 2008 15:05:44 -0500 Olof Johansson <olof@lixom.net>  
> 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?

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.

>> 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

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

end of thread, other threads:[~2008-05-30 15:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 20:05 [PATCH 2.6.26] electra_cf: Add MODULE_DEVICE_TABLE() Olof Johansson
2008-05-30  5:25 ` Stephen Rothwell
2008-05-30 15:07   ` Olof Johansson

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).