From patchwork Wed Mar 6 20:52:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?RGF2aWQgSMODwqRyZGVtYW4=?= X-Patchwork-Id: 2228221 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 3CCCF3FCF6 for ; Wed, 6 Mar 2013 20:52:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754942Ab3CFUw3 (ORCPT ); Wed, 6 Mar 2013 15:52:29 -0500 Received: from 1-1-12-13a.han.sth.bostream.se ([82.182.30.168]:54726 "EHLO palpatine.hardeman.nu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754803Ab3CFUw1 (ORCPT ); Wed, 6 Mar 2013 15:52:27 -0500 Received: from zeus.hardeman.nu (ppp-188-174-186-231.dynamic.mnet-online.de [188.174.186.231]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by palpatine.hardeman.nu (Postfix) with ESMTPSA id 610133002F6; Wed, 6 Mar 2013 21:52:26 +0100 (CET) Received: by zeus.hardeman.nu (Postfix, from userid 1000) id ECFCBC6044F; Wed, 6 Mar 2013 21:52:15 +0100 (CET) Subject: [PATCH 3/3] 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, sean@mess.org Date: Wed, 06 Mar 2013 21:52:15 +0100 Message-ID: <20130306205215.12635.51117.stgit@zeus.hardeman.nu> In-Reply-To: <20130306205057.12635.59234.stgit@zeus.hardeman.nu> References: <20130306205057.12635.59234.stgit@zeus.hardeman.nu> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index c56650c..1cf382a 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -1195,7 +1195,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) */