ARM: NUC900: rename mtd nand driver name
authorWan ZongShun <mcuos.com@gmail.com>
Fri, 1 Jan 2010 10:03:47 +0000 (18:03 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 1 Jan 2010 12:06:14 +0000 (12:06 +0000)
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>
drivers/mtd/nand/w90p910_nand.c

index 7680e731348a5b7342a0b9c8c50193f4bf31af1d..c2e9b68e4ff74f265cb8cccad63f3687e5fb2acc 100644 (file)
@@ -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");