summaryrefslogtreecommitdiff
path: root/drivers/memory/ti-aemif.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2018-04-20 10:14:27 -0700
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2018-04-20 10:14:27 -0700
commitf12cb8e274c33a5402fbdbdf4326211c3358623f (patch)
treeecbc8875d0e51bc463aebcc312a8712031aaec91 /drivers/memory/ti-aemif.c
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
downloadlwn-f12cb8e274c33a5402fbdbdf4326211c3358623f.tar.gz
lwn-f12cb8e274c33a5402fbdbdf4326211c3358623f.zip
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>
Diffstat (limited to 'drivers/memory/ti-aemif.c')
-rw-r--r--drivers/memory/ti-aemif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c
index 2744b1b91b57..588e58d40d1b 100644
--- a/drivers/memory/ti-aemif.c
+++ b/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),
},
};