diff options
author | David Härdeman <david@hardeman.nu> | 2013-03-06 23:52:15 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-19 22:26:37 +0400 |
commit | e76d4ce49f574b6d94324239f8b7d655774d062c (patch) | |
tree | 6d5dc3c3d890f524b9a11201e16492cddcf7bb97 /drivers/media/rc | |
parent | 72873e51c578ae29463a5d146f68881fcd0924c0 (diff) | |
download | linux-e76d4ce49f574b6d94324239f8b7d655774d062c.tar.xz |
[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) */ |