summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWan ZongShun <mcuos.com@gmail.com>2010-01-01 18:03:47 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-01-01 12:06:14 +0000
commit49f37b74d077edff355f1c3390fc9fd0c418ef9b (patch)
tree84a6b146d1b05f5738f2b0ea96174711b83887af
parentcbd38a875fd890c3c2f196dd3370d90fd3ecb7f5 (diff)
ARM: NUC900: rename mtd nand driver name
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> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r--drivers/mtd/nand/w90p910_nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/w90p910_nand.c b/drivers/mtd/nand/w90p910_nand.c
index 7680e731348..c2e9b68e4ff 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");