1
0
Fork 0

[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>
hifive-unleashed-5.1
David Härdeman 2013-03-06 16:52:15 -03:00 committed by Mauro Carvalho Chehab
parent 72873e51c5
commit e76d4ce49f
1 changed files with 1 additions and 1 deletions

View File

@ -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) */