Skip to contentSkip to conversation

ARM: NUC900: rename mtd nand driver name

PATCH New Wan ZongShun 3 participants 5 messages Jan 1, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: NUC900: rename mtd nand driver name

Dear David,

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

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

b/drivers/mtd/nand/w90p910_nand.c
index 7680e73..c2e9b68 100644

drivers/mtd/nand/w90p910_nand.c +2 -2
@@ -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 <[email protected]>");
 MODULE_DESCRIPTION("w90p910 nand driver!");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:w90p910-fmi");
+MODULE_ALIAS("platform:nuc900-fmi");
Signature · 1 line
1.5.6.3
#1 lore raw

PATCH 1/1 ARM: NUC900: rename mtd nand driver name

Dear Wan ZongShun,

Quoted 17 lines · In message <[email protected]> you wrote:

Dear David,

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

---
 drivers/mtd/nand/w90p910_nand.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/mtd/nand/w90p910_nand.c +0 -0
index 7680e73..c2e9b68 100644

drivers/mtd/nand/w90p910_nand.c static struct platform_driver w90p910_nand_driver = { · line 363

Quoted 7 lines
drivers/mtd/nand/w90p910_nand.c +1 -1
@@ -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

Signature · 6 lines
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 at denx.de
As far as the laws of mathematics refer  to  reality,  they  are  not
certain;  and  as  far  as  they  are  certain,  they do not refer to
reality.                                           -- Albert Einstein
#2 lore raw

PATCH 1/1 ARM: NUC900: rename mtd nand driver name

2010/1/1 Wolfgang Denk <[email protected]>:

Quoted 14 lines

Dear Wan ZongShun,

Quoted 11 lines · In message <[email protected]> you wrote:

Dear David,

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

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

Quoted 16 lines

drivers/mtd/nand/w90p910_nand.c static struct platform_driver w90p910_nand_driver = { · line 363

Quoted 13 lines
drivers/mtd/nand/w90p910_nand.c +1 -1
index 7680e73..c2e9b68 100644
@@ -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, above is my preferring, if more folks feel it is significative.

Quoted 12 lines

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 at denx.de As far as the laws of mathematics refer ?to ?reality, ?they ?are ?not certain; ?and ?as ?far ?as ?they ?are ?certain, ?they do not refer to reality. ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Albert Einstein

Signature · 3 lines
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#3 lore raw

PATCH 1/1 ARM: NUC900: rename mtd nand driver name

Quoted 7 lines · Wan ZongShun
Quoted 2 lines

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

nuc900_nand.c ?

Quoted 1 line

Thanks, above is my preferring, if more folks feel it is significative.

http://git.infradead.org/mtd-2.6.git/commitdiff/bb6a7755

Signature · 2 lines
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation
#4 lore raw

PATCH 1/1 ARM: NUC900: rename mtd nand driver name

Hi David,

2010/1/1 David Woodhouse <[email protected]>:

Quoted 11 lines · Wan ZongShun
Quoted 7 lines
Quoted 2 lines

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

nuc900_nand.c ?

Quoted 1 line

Thanks, above is my preferring, if more folks feel it is significative.

http://git.infradead.org/mtd-2.6.git/commitdiff/bb6a7755

Thanks for your great help.

Quoted 5 lines

--
David Woodhouse ? ? ? ? ? ? ? ? ? ? ? ? ? ?Open Source Technology Centre David.Woodhouse at intel.com ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?Intel Corporation

Signature · 3 lines
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel