Skip to contentSkip to conversation

scsi: ufs: TI UFS host controller expose device tree aliases

PATCH Applied Udit Kumar 2 participants 2 messages Jul 10, 2023 – Jul 23, 2023 SCSI

lore
Share & tools
lore

Udit Kumar

author
#0 lore raw

PATCH 1/1 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.

---
 drivers/ufs/host/ti-j721e-ufs.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/ufs/host/ti-j721e-ufs.c +2 -0
index 122d650d0810..117eb7da92ac 100644
@@ -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,
Signature · 1 line
2.34.1
#1 lore raw

Udit,

Quoted 2 lines

When TI UFS host controller driver is built as kernel module, It was not getting auto loaded due to missing aliases in modules.

Applied to 6.6/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering