mirror of https://gitee.com/openkylin/linux.git
[media] rc-core: initialize rc-core earlier if built-in
rc-core is a subsystem so it should be registered earlier if built into the kernel. Signed-off-by: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
72873e51c5
commit
e76d4ce49f
|
@ -1207,7 +1207,7 @@ static void __exit rc_core_exit(void)
|
|||
rc_map_unregister(&empty_map);
|
||||
}
|
||||
|
||||
module_init(rc_core_init);
|
||||
subsys_initcall(rc_core_init);
|
||||
module_exit(rc_core_exit);
|
||||
|
||||
int rc_core_debug; /* ir_debug level (0,1,2) */
|
||||
|
|
Loading…
Reference in New Issue