[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:
Родитель
72873e51c5
Коммит
e76d4ce49f
|
@ -1207,7 +1207,7 @@ static void __exit rc_core_exit(void)
|
||||||
rc_map_unregister(&empty_map);
|
rc_map_unregister(&empty_map);
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(rc_core_init);
|
subsys_initcall(rc_core_init);
|
||||||
module_exit(rc_core_exit);
|
module_exit(rc_core_exit);
|
||||||
|
|
||||||
int rc_core_debug; /* ir_debug level (0,1,2) */
|
int rc_core_debug; /* ir_debug level (0,1,2) */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче