Commit f12cb8e2 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Santosh Shilimkar

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: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
parent 60cc43fc
...@@ -422,7 +422,7 @@ static struct platform_driver aemif_driver = { ...@@ -422,7 +422,7 @@ static struct platform_driver aemif_driver = {
.probe = aemif_probe, .probe = aemif_probe,
.remove = aemif_remove, .remove = aemif_remove,
.driver = { .driver = {
.name = KBUILD_MODNAME, .name = "ti-aemif",
.of_match_table = of_match_ptr(aemif_of_match), .of_match_table = of_match_ptr(aemif_of_match),
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment