aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Nikula <[email protected]>2023-09-21 08:56:54 +0300
committerAlexandre Belloni <[email protected]>2023-09-25 23:35:14 +0200
commitf656f6bd22d7cd08b55c6495fcfaa391c2eb933f (patch)
treebd7e42aa21c19c41539f7aaed234f1dd5869de62
parent0c35691551387e060e6ae7a6652b4101270c73cf (diff)
i3c: mipi-i3c-hci: Add MODULE_ALIAS
Add MODULE_ALIAS() in order to be able to autoload this driver when the device is added as a platform device from another glue code driver. Signed-off-by: Jarkko Nikula <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
-rw-r--r--drivers/i3c/master/mipi-i3c-hci/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i3c/master/mipi-i3c-hci/core.c b/drivers/i3c/master/mipi-i3c-hci/core.c
index 837af83c85f4..8f43ad81fbfd 100644
--- a/drivers/i3c/master/mipi-i3c-hci/core.c
+++ b/drivers/i3c/master/mipi-i3c-hci/core.c
@@ -787,6 +787,7 @@ static struct platform_driver i3c_hci_driver = {
},
};
module_platform_driver(i3c_hci_driver);
+MODULE_ALIAS("platform:mipi-i3c-hci");
MODULE_AUTHOR("Nicolas Pitre <[email protected]>");
MODULE_DESCRIPTION("MIPI I3C HCI driver");