summaryrefslogtreecommitdiffstats
path: root/drivers/memory
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2018-04-20 13:14:27 -0400
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2018-04-20 13:14:27 -0400
commitf12cb8e274c33a5402fbdbdf4326211c3358623f (patch)
treeecbc8875d0e51bc463aebcc312a8712031aaec91 /drivers/memory
parent60cc43fc888428bb2f18f08997432d426a243338 (diff)
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')
-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 = {
422 .probe = aemif_probe, 422 .probe = aemif_probe,
423 .remove = aemif_remove, 423 .remove = aemif_remove,
424 .driver = { 424 .driver = {
425 .name = KBUILD_MODNAME, 425 .name = "ti-aemif",
426 .of_match_table = of_match_ptr(aemif_of_match), 426 .of_match_table = of_match_ptr(aemif_of_match),
427 }, 427 },
428}; 428};