From: Udit Kumar <u-kumar1@ti.com>
To: <linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<=martin.petersen@oracle.com>, <jejb@linux.ibm.com>, <nm@ti.com>,
<vigneshr@ti.com>
Cc: Udit Kumar <u-kumar1@ti.com>
Subject: [PATCH] scsi: ufs: TI UFS host controller expose device tree aliases
Date: Mon, 10 Jul 2023 15:18:01 +0530 [thread overview]
Message-ID: <20230710094801.183149-1-u-kumar1@ti.com> (raw)
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
next reply other threads:[~2023-07-10 9:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-10 9:48 Udit Kumar [this message]
2023-07-23 19:12 ` [PATCH] scsi: ufs: TI UFS host controller expose device tree aliases Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230710094801.183149-1-u-kumar1@ti.com \
--to=u-kumar1@ti.com \
--cc==martin.petersen@oracle.com \
--cc=jejb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=nm@ti.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox