1
0
Fork 0

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>
hifive-unleashed-5.1
Bartosz Golaszewski 2018-04-20 10:14:27 -07:00 committed by Santosh Shilimkar
parent 60cc43fc88
commit f12cb8e274
1 changed files with 1 additions and 1 deletions

View File

@ -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),
},
};