aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/omap_elm.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-08-18 21:03:13 +0800
committerBrian Norris <computersforpeace@gmail.com>2015-08-18 17:57:46 -0700
commit0f0aca5d50ced8d8c18c7982a6b6332182b70e33 (patch)
tree198368cea0850514def6615d063d812e57d3975b /drivers/mtd/nand/omap_elm.c
parentmtd: physmap_of: fix null pointer deference when kzalloc returns null (diff)
downloadlinux-dev-0f0aca5d50ced8d8c18c7982a6b6332182b70e33.tar.xz
linux-dev-0f0aca5d50ced8d8c18c7982a6b6332182b70e33.zip
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@ingics.com> Acked-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/omap_elm.c')
-rw-r--r--drivers/mtd/nand/omap_elm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c
index 376bfe19104f..235ec7992b4c 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");