diff options
author | Ramon Fried <rfried@codeaurora.org> | 2018-03-23 05:09:12 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2018-04-26 01:46:55 +0200 |
commit | 93dd4e73c0d9cc32f835d76a54257020b0bfc75a (patch) | |
tree | 0718934d38e510d3ece64e1911b3e8d2c2acb806 /drivers/rpmsg | |
parent | remoteproc: qcom: Fix potential device node leaks (diff) | |
download | linux-93dd4e73c0d9cc32f835d76a54257020b0bfc75a.tar.xz linux-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/rpmsg')
-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"); |