Skip to contentSkip to conversation

ARM: NUC900: rename mtd nand driver name

PATCH In review Wan ZongShun 2 participants 3 messages Jan 1, 2010

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

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

Re-sent it to linux-mtd list.

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

Dear Wan ZongShun,

Quoted 18 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: [email protected]
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"
#2 lore raw

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

Quoted 15 lines

Dear Wan ZongShun,

Quoted 12 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, I will make a new patch as you mentioned.

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: [email protected] 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"

Signature · 3 lines
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel