From: David Härdeman Date: Wed, 6 Mar 2013 19:52:15 +0000 (-0300) Subject: [media] rc-core: initialize rc-core earlier if built-in X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e76d4ce49f574b6d94324239f8b7d655774d062c;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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) */