mtd: omap_elm: Fix module alias

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Sep 1 14:59:04 PDT 2015


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=0f0aca5d50ced8d8c18c7982a6b6332182b70e33
Commit:     0f0aca5d50ced8d8c18c7982a6b6332182b70e33
Parent:     7e0c19c9608483808e6b5c294e357fa456f058e1
Author:     Axel Lin <axel.lin at ingics.com>
AuthorDate: Tue Aug 18 21:03:13 2015 +0800
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Aug 18 17:57:46 2015 -0700

    mtd: omap_elm: Fix module alias
    
    Remove extra space after the "platform:" prefix and make the alias matches
    driver name.
    
    Signed-off-by: Axel Lin <axel.lin at ingics.com>
    Acked-by: Roger Quadros <rogerq at ti.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/nand/omap_elm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c
index 376bfe1..235ec79 100644
--- a/drivers/mtd/nand/omap_elm.c
+++ b/drivers/mtd/nand/omap_elm.c
@@ -574,5 +574,5 @@ module_platform_driver(elm_driver);
 
 MODULE_DESCRIPTION("ELM driver for BCH error correction");
 MODULE_AUTHOR("Texas Instruments");
-MODULE_ALIAS("platform: elm");
+MODULE_ALIAS("platform:" DRIVER_NAME);
 MODULE_LICENSE("GPL v2");



More information about the linux-mtd-cvs mailing list