diff options
author | David Härdeman <david@hardeman.nu> | 2013-03-06 20:52:15 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-19 19:26:37 +0100 |
commit | e76d4ce49f574b6d94324239f8b7d655774d062c (patch) | |
tree | 6d5dc3c3d890f524b9a11201e16492cddcf7bb97 /drivers | |
parent | [media] lmedm04: Remove redundant NULL check before kfree (diff) | |
download | linux-e76d4ce49f574b6d94324239f8b7d655774d062c.tar.xz linux-e76d4ce49f574b6d94324239f8b7d655774d062c.zip |
[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')
-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) */ |