diff options
author | David Härdeman | 2013-03-06 16:52:15 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab | 2013-03-19 15:26:37 -0300 |
commit | e76d4ce49f574b6d94324239f8b7d655774d062c (patch) | |
tree | 6d5dc3c3d890f524b9a11201e16492cddcf7bb97 /drivers/media/rc | |
parent | 72873e51c578ae29463a5d146f68881fcd0924c0 (diff) |
[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>
Diffstat (limited to 'drivers/media/rc')
-rw-r--r-- | drivers/media/rc/rc-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 759a40a42eaa..a92b8c536c89 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -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) */ |