Linux Remote Processor Subsystem development
 help / color / mirror / Atom feed
* [PATCH] rpmsg: added MODULE_ALIAS for rpmsg_char
@ 2018-03-23  4:09 Ramon Fried
  0 siblings, 0 replies; only message in thread
From: Ramon Fried @ 2018-03-23  4:09 UTC (permalink / raw)
  To: bjorn.andersson, linux-remoteproc; +Cc: Ramon Fried

Added "rpmsg:rpmsg_chrdev" MODULE_ALIAS to autoload
rpmg_chrdev module automatically.

Signed-off-by: Ramon Fried <rfried@codeaurora.org>
---
 drivers/rpmsg/rpmsg_char.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/rpmsg/rpmsg_char.c b/drivers/rpmsg/rpmsg_char.c
index e0996fce3963..6a5b5b16145e 100644
--- a/drivers/rpmsg/rpmsg_char.c
+++ b/drivers/rpmsg/rpmsg_char.c
@@ -581,4 +581,6 @@ static void rpmsg_chrdev_exit(void)
 	unregister_chrdev_region(rpmsg_major, RPMSG_DEV_MAX);
 }
 module_exit(rpmsg_chrdev_exit);
+
+MODULE_ALIAS("rpmsg:rpmsg_chrdev");
 MODULE_LICENSE("GPL v2");
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-23  4:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-23  4:09 [PATCH] rpmsg: added MODULE_ALIAS for rpmsg_char Ramon Fried

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