[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230710094801.183149-1-u-kumar1@ti.com>
Date: Mon, 10 Jul 2023 15:18:01 +0530
From: Udit Kumar <u-kumar1@...com>
To: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<=martin.petersen@...cle.com>, <jejb@...ux.ibm.com>, <nm@...com>,
<vigneshr@...com>
CC: Udit Kumar <u-kumar1@...com>
Subject: [PATCH] scsi: ufs: TI UFS host controller expose device tree aliases
When TI UFS host controller driver is built as kernel module,
It was not getting auto loaded due to missing aliases in modules.
This patch adds device tree related aliases.
Signed-off-by: Udit Kumar <u-kumar1@...com>
---
drivers/ufs/host/ti-j721e-ufs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/ufs/host/ti-j721e-ufs.c b/drivers/ufs/host/ti-j721e-ufs.c
index 122d650d0810..117eb7da92ac 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,
--
2.34.1
Powered by blists - more mailing lists