Return-path: Received: from 1-1-12-13a.han.sth.bostream.se ([82.182.30.168]:44268 "EHLO palpatine.hardeman.nu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758761Ab2EWJyt (ORCPT ); Wed, 23 May 2012 05:54:49 -0400 Subject: [PATCH 07/43] rc-core: initialize rc-core earlier if built-in To: linux-media@vger.kernel.org From: David =?utf-8?b?SMOkcmRlbWFu?= Cc: mchehab@redhat.com, jarod@redhat.com Date: Wed, 23 May 2012 11:42:37 +0200 Message-ID: <20120523094237.14474.44105.stgit@felix.hardeman.nu> In-Reply-To: <20120523094157.14474.24367.stgit@felix.hardeman.nu> References: <20120523094157.14474.24367.stgit@felix.hardeman.nu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org List-ID: rc-core is a subsystem so it should be registered earlier if built into the kernel. Signed-off-by: David Härdeman --- drivers/media/rc/rc-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 0e50a84..6e02314 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -1302,7 +1302,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) */