summaryrefslogtreecommitdiff
path: root/drivers/rpmsg/rpmsg_char.c
diff options
context:
space:
mode:
authorRamon Fried <rfried@codeaurora.org>2018-03-23 00:09:12 -0400
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-04-25 16:46:55 -0700
commit93dd4e73c0d9cc32f835d76a54257020b0bfc75a (patch)
tree0718934d38e510d3ece64e1911b3e8d2c2acb806 /drivers/rpmsg/rpmsg_char.c
parent278d744c46fd4f1925aec77752d18a0e4a9cbec3 (diff)
rpmsg: added MODULE_ALIAS for rpmsg_char
Added "rpmsg:rpmsg_chrdev" MODULE_ALIAS to autoload rpmg_chrdev module automatically. Signed-off-by: Ramon Fried <rfried@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/rpmsg/rpmsg_char.c')
-rw-r--r--drivers/rpmsg/rpmsg_char.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/rpmsg/rpmsg_char.c b/drivers/rpmsg/rpmsg_char.c
index 64b6de9763ee..1efdf9ff8679 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");