Skip to content

Commit f12cb8e

Browse files
brglSantoshShilimkar
authored andcommitted
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>
1 parent 60cc43f commit f12cb8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/memory/ti-aemif.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ static struct platform_driver aemif_driver = {
422422
.probe = aemif_probe,
423423
.remove = aemif_remove,
424424
.driver = {
425-
.name = KBUILD_MODNAME,
425+
.name = "ti-aemif",
426426
.of_match_table = of_match_ptr(aemif_of_match),
427427
},
428428
};

0 commit comments

Comments
 (0)