Skip to content

Commit

Permalink
[media] rc-core: initialize rc-core earlier if built-in
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Härdeman authored and Mauro Carvalho Chehab committed Mar 19, 2013
1 parent 72873e5 commit e76d4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/rc/rc-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit e76d4ce

Please sign in to comment.