Skip to contentSkip to conversation

mtd: omap_elm: Fix module alias

PATCH Applied Axel Lin 3 participants 3 messages Aug 18, 2015 – Aug 19, 2015

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 mtd: omap_elm: Fix module alias

Remove extra space after the "platform:" prefix and make the alias matches driver name.

---
 drivers/mtd/nand/omap_elm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/omap_elm.c +1 -1
index 376bfe1..235ec79 100644
@@ -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");
Signature · 1 line
2.1.0
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Axel Lin

Remove extra space after the "platform:" prefix and make the alias matches driver name.

cheers,
-roger

Quoted 16 lines
---
 drivers/mtd/nand/omap_elm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/omap_elm.c +1 -1
index 376bfe1..235ec79 100644
@@ -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");