From patchwork Sat Aug 25 21:47:29 2012 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: 1374041 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 2935FDF6DA for ; Sat, 25 Aug 2012 21:47:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752235Ab2HYVrd (ORCPT ); Sat, 25 Aug 2012 17:47:33 -0400 Received: from 1-1-12-13a.han.sth.bostream.se ([82.182.30.168]:40379 "EHLO palpatine.hardeman.nu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751347Ab2HYVrc (ORCPT ); Sat, 25 Aug 2012 17:47:32 -0400 Received: from basil.hardeman.nu (host-95-199-142-56.mobileonline.telia.com [95.199.142.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by palpatine.hardeman.nu (Postfix) with ESMTPSA id 2FBA0300305; Sat, 25 Aug 2012 23:47:31 +0200 (CEST) Received: by basil.hardeman.nu (Postfix, from userid 1000) id 977E66606C7; Sat, 25 Aug 2012 23:47:29 +0200 (CEST) Subject: [PATCH 8/8] rc-core: initialize rc-core earlier if built-in To: linux-media@vger.kernel.org From: David =?utf-8?b?SMOkcmRlbWFu?= Cc: jwilson@redhat.com, mchehab@redhat.com, sean@mess.org Date: Sat, 25 Aug 2012 23:47:29 +0200 Message-ID: <20120825214729.22603.49937.stgit@localhost.localdomain> In-Reply-To: <20120825214520.22603.37194.stgit@localhost.localdomain> References: <20120825214520.22603.37194.stgit@localhost.localdomain> 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 ec7311f..8134bd8 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -1327,7 +1327,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) */