aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ufs
diff options
context:
space:
mode:
authorUdit Kumar <u-kumar1@ti.com>2023-07-10 15:18:01 +0530
committerMartin K. Petersen <martin.petersen@oracle.com>2023-07-23 15:12:26 -0400
commita9814b6c23e79ed58aeb432d7f1c556935aeaf8d (patch)
tree66e89c2dbc4db7b91075aa84ab0e5d8620e47ba7 /drivers/ufs
parente152a616c88653e67244595979fde24038d9653a (diff)
downloadlinux-a9814b6c23e79ed58aeb432d7f1c556935aeaf8d.tar.gz
scsi: ufs: ti-j721e: Expose device tree aliases
When TI UFS host controller driver is built as kernel module it is not getting auto-loaded due to missing aliases in modules. Add device tree related aliases. Signed-off-by: Udit Kumar <u-kumar1@ti.com> Link: https://lore.kernel.org/r/20230710094801.183149-1-u-kumar1@ti.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs')
-rw-r--r--drivers/ufs/host/ti-j721e-ufs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ufs/host/ti-j721e-ufs.c b/drivers/ufs/host/ti-j721e-ufs.c
index 122d650d08102f..117eb7da92acd1 100644
--- a/drivers/ufs/host/ti-j721e-ufs.c
+++ b/drivers/ufs/host/ti-j721e-ufs.c
@@ -81,6 +81,8 @@ static const struct of_device_id ti_j721e_ufs_of_match[] = {
{ },
};
+MODULE_DEVICE_TABLE(of, ti_j721e_ufs_of_match);
+
static struct platform_driver ti_j721e_ufs_driver = {
.probe = ti_j721e_ufs_probe,
.remove = ti_j721e_ufs_remove,