diff options
author | Ramon Fried <rfried@codeaurora.org> | 2018-03-23 00:09:12 -0400 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-04-25 16:46:55 -0700 |
commit | 93dd4e73c0d9cc32f835d76a54257020b0bfc75a (patch) | |
tree | 0718934d38e510d3ece64e1911b3e8d2c2acb806 /drivers | |
parent | 278d744c46fd4f1925aec77752d18a0e4a9cbec3 (diff) | |
download | linux-stable-93dd4e73c0d9cc32f835d76a54257020b0bfc75a.tar.gz linux-stable-93dd4e73c0d9cc32f835d76a54257020b0bfc75a.tar.bz2 linux-stable-93dd4e73c0d9cc32f835d76a54257020b0bfc75a.zip |
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')
-rw-r--r-- | drivers/rpmsg/rpmsg_char.c | 2 |
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"); |