public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: ufs: TI UFS host controller expose device tree aliases
@ 2023-07-10  9:48 Udit Kumar
  2023-07-23 19:12 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Udit Kumar @ 2023-07-10  9:48 UTC (permalink / raw)
  To: linux-scsi, linux-kernel, =martin.petersen, jejb, nm, vigneshr; +Cc: Udit Kumar

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@ti.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi: ufs: TI UFS host controller expose device tree aliases
  2023-07-10  9:48 [PATCH] scsi: ufs: TI UFS host controller expose device tree aliases Udit Kumar
@ 2023-07-23 19:12 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2023-07-23 19:12 UTC (permalink / raw)
  To: Udit Kumar; +Cc: linux-scsi, linux-kernel, =martin.petersen, jejb, nm, vigneshr


Udit,

> 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!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-23 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-10  9:48 [PATCH] scsi: ufs: TI UFS host controller expose device tree aliases Udit Kumar
2023-07-23 19:12 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox