diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2018-04-20 10:14:27 -0700 |
---|---|---|
committer | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2018-04-20 10:14:27 -0700 |
commit | f12cb8e274c33a5402fbdbdf4326211c3358623f (patch) | |
tree | ecbc8875d0e51bc463aebcc312a8712031aaec91 /drivers/memory | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | linux-stable-f12cb8e274c33a5402fbdbdf4326211c3358623f.tar.gz linux-stable-f12cb8e274c33a5402fbdbdf4326211c3358623f.tar.bz2 linux-stable-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')
-rw-r--r-- | drivers/memory/ti-aemif.c | 2 |
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), }, }; |