diff options
author | David Härdeman <david@hardeman.nu> | 2013-03-06 14:52:15 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-19 14:26:37 -0400 |
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) | |||
1207 | rc_map_unregister(&empty_map); | 1207 | rc_map_unregister(&empty_map); |
1208 | } | 1208 | } |
1209 | 1209 | ||
1210 | module_init(rc_core_init); | 1210 | subsys_initcall(rc_core_init); |
1211 | module_exit(rc_core_exit); | 1211 | module_exit(rc_core_exit); |
1212 | 1212 | ||
1213 | int rc_core_debug; /* ir_debug level (0,1,2) */ | 1213 | int rc_core_debug; /* ir_debug level (0,1,2) */ |