]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/mtd/nand/omap2.c
mtd: add "platform:" prefix for platform modalias
[mv-sheeva.git] / drivers / mtd / nand / omap2.c
index cd41c58b5bbd50f8ed905a1a6da71dedc5cfca7e..28af71c61834e8d08bd474a88cddbf8cf5d4bbe0 100644 (file)
@@ -7,7 +7,6 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  */
-#define CONFIG_MTD_NAND_OMAP_HWECC
 
 #include <linux/platform_device.h>
 #include <linux/dma-mapping.h>
@@ -969,6 +968,6 @@ static void __exit omap_nand_exit(void)
 module_init(omap_nand_init);
 module_exit(omap_nand_exit);
 
-MODULE_ALIAS(DRIVER_NAME);
+MODULE_ALIAS("platform:" DRIVER_NAME);
 MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("Glue layer for NAND flash on TI OMAP boards");