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>
This commit is contained in:
parent
278d744c46
commit
93dd4e73c0
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue