public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: NUC900: rename mtd nand driver name
@ 2010-01-01 10:07 Wan ZongShun
  2010-01-01 10:28 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Wan ZongShun @ 2010-01-01 10:07 UTC (permalink / raw)
  To: linux-mtd

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


Re-sent it to linux-mtd list.

[-- Attachment #2: [PATCH] ARM: NUC900: rename mtd nand driver name.eml --]
[-- Type: message/rfc822, Size: 1452 bytes --]

From: Wan ZongShun <mcuos.com@gmail.com>
To: David Woodhouse <dwmw2@infradead.org>, NUC900-LINUX <nuc900@googlegroups.com>, linux-arm-kernel <linux-arm-kernel@lists.infradead.org>
Subject: [PATCH] ARM: NUC900: rename mtd nand driver name
Date: Fri, 01 Jan 2010 18:03:47 +0800
Message-ID: <4B3DC883.5060405@gmail.com>

Dear David,

Due to I have renamed the platform_device.name,so this patch changes
this nand driver platform_driver name.

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>

---
 drivers/mtd/nand/w90p910_nand.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/nand/w90p910_nand.c
b/drivers/mtd/nand/w90p910_nand.c
index 7680e73..c2e9b68 100644
--- a/drivers/mtd/nand/w90p910_nand.c
+++ b/drivers/mtd/nand/w90p910_nand.c
@@ -358,7 +358,7 @@ static struct platform_driver w90p910_nand_driver = {
 	.probe		= w90p910_nand_probe,
 	.remove		= __devexit_p(w90p910_nand_remove),
 	.driver		= {
-		.name	= "w90p910-fmi",
+		.name	= "nuc900-fmi",
 		.owner	= THIS_MODULE,
 	},
 };
@@ -379,4 +379,4 @@ module_exit(w90p910_nand_exit);
 MODULE_AUTHOR("Wan ZongShun <mcuos.com@gmail.com>");
 MODULE_DESCRIPTION("w90p910 nand driver!");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:w90p910-fmi");
+MODULE_ALIAS("platform:nuc900-fmi");
-- 
1.5.6.3


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

* Re: [PATCH] ARM: NUC900: rename mtd nand driver name
  2010-01-01 10:07 [PATCH] ARM: NUC900: rename mtd nand driver name Wan ZongShun
@ 2010-01-01 10:28 ` Wolfgang Denk
  2010-01-01 10:38   ` Wan ZongShun
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2010-01-01 10:28 UTC (permalink / raw)
  To: Wan ZongShun; +Cc: linux-mtd

Dear Wan ZongShun,

In message <4B3DC972.1020702@gmail.com> you wrote:
>
> Dear David,
> 
> Due to I have renamed the platform_device.name,so this patch changes
> this nand driver platform_driver name.
> 
> Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
> 
> ---
>  drivers/mtd/nand/w90p910_nand.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mtd/nand/w90p910_nand.c
> b/drivers/mtd/nand/w90p910_nand.c
> index 7680e73..c2e9b68 100644
> --- a/drivers/mtd/nand/w90p910_nand.c
> +++ b/drivers/mtd/nand/w90p910_nand.c
> @@ -358,7 +358,7 @@ static struct platform_driver w90p910_nand_driver = {
>  	.probe		= w90p910_nand_probe,
>  	.remove		= __devexit_p(w90p910_nand_remove),
>  	.driver		= {
> -		.name	= "w90p910-fmi",
> +		.name	= "nuc900-fmi",
>  		.owner	= THIS_MODULE,
>  	},

Maybe you also want to rename the file w90p910_nand.c => nuc900_nand.c ?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
The universe, they said, depended for its operation on the balance of
four forces which they identified as charm,  persuasion,  uncertainty
and bloody-mindedness.      -- Terry Pratchett, "The Light Fantastic"

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

* Re: [PATCH] ARM: NUC900: rename mtd nand driver name
  2010-01-01 10:28 ` Wolfgang Denk
@ 2010-01-01 10:38   ` Wan ZongShun
  0 siblings, 0 replies; 3+ messages in thread
From: Wan ZongShun @ 2010-01-01 10:38 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linux-mtd

2010/1/1 Wolfgang Denk <wd@denx.de>:
> Dear Wan ZongShun,
>
> In message <4B3DC972.1020702@gmail.com> you wrote:
>>
>> Dear David,
>>
>> Due to I have renamed the platform_device.name,so this patch changes
>> this nand driver platform_driver name.
>>
>> Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
>>
>> ---
>>  drivers/mtd/nand/w90p910_nand.c |    4 ++--
>>  1 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/mtd/nand/w90p910_nand.c
>> b/drivers/mtd/nand/w90p910_nand.c
>> index 7680e73..c2e9b68 100644
>> --- a/drivers/mtd/nand/w90p910_nand.c
>> +++ b/drivers/mtd/nand/w90p910_nand.c
>> @@ -358,7 +358,7 @@ static struct platform_driver w90p910_nand_driver = {
>>       .probe          = w90p910_nand_probe,
>>       .remove         = __devexit_p(w90p910_nand_remove),
>>       .driver         = {
>> -             .name   = "w90p910-fmi",
>> +             .name   = "nuc900-fmi",
>>               .owner  = THIS_MODULE,
>>       },
>
> Maybe you also want to rename the file w90p910_nand.c => nuc900_nand.c ?
>

Thanks, I will make a new patch as you mentioned.

> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
> The universe, they said, depended for its operation on the balance of
> four forces which they identified as charm,  persuasion,  uncertainty
> and bloody-mindedness.      -- Terry Pratchett, "The Light Fantastic"
>



-- 
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2010-01-01 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-01 10:07 [PATCH] ARM: NUC900: rename mtd nand driver name Wan ZongShun
2010-01-01 10:28 ` Wolfgang Denk
2010-01-01 10:38   ` Wan ZongShun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox