浏览代码

memory: aemif: don't rely on kbuild for driver's name

We want to use aemif from board files. Use a static name in the
driver's code.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Bartosz Golaszewski 7 年之前
父节点
当前提交
f12cb8e274
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/memory/ti-aemif.c

+ 1 - 1
drivers/memory/ti-aemif.c

@@ -422,7 +422,7 @@ static struct platform_driver aemif_driver = {
 	.probe = aemif_probe,
 	.remove = aemif_remove,
 	.driver = {
-		.name = KBUILD_MODNAME,
+		.name = "ti-aemif",
 		.of_match_table = of_match_ptr(aemif_of_match),
 	},
 };