summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc
diff options
context:
space:
mode:
authorDavid Härdeman2013-03-06 20:52:15 +0100
committerMauro Carvalho Chehab2013-03-19 19:26:37 +0100
commite76d4ce49f574b6d94324239f8b7d655774d062c (patch)
tree6d5dc3c3d890f524b9a11201e16492cddcf7bb97 /drivers/media/rc
parent[media] lmedm04: Remove redundant NULL check before kfree (diff)
downloadkernel-qcow2-linux-e76d4ce49f574b6d94324239f8b7d655774d062c.tar.gz
kernel-qcow2-linux-e76d4ce49f574b6d94324239f8b7d655774d062c.tar.xz
kernel-qcow2-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/media/rc')
-rw-r--r--drivers/media/rc/rc-main.c2
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) */