From patchwork Tue Jul 24 08:53:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 1230631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 875013FD4F for ; Tue, 24 Jul 2012 09:05:57 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Stavn-00019U-On; Tue, 24 Jul 2012 08:57:28 +0000 Received: from na3sys009aog131.obsmtp.com ([74.125.149.247]) by merlin.infradead.org with smtps (Exim 4.76 #1 (Red Hat Linux)) id 1Stavf-00018l-CH for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2012 08:57:20 +0000 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]) (using TLSv1) by na3sys009aob131.postini.com ([74.125.148.12]) with SMTP ID DSNKUA5jbnUBIZwEkajs9ZtItxQAWrf0w683@postini.com; Tue, 24 Jul 2012 01:57:19 PDT Received: by lahi5 with SMTP id i5so667711lah.28 for ; Tue, 24 Jul 2012 01:57:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=PfjSsTWmlT7oFvD82LZ06KwV5pefj858j39kg6DPDC0=; b=QyHwoQBpzOt4JGAcgVSfePnr+m1cMz7l5R7bF6L1Pd+GwvGpkGfRHU9FWn3rLNiihk 34MIln/MjcZ3e5LeBymm0AstZSvJzc0Mna6t7hpoTOJsKjKlc0BWAVC7KvSUqkYWm70n TnK0hYQNr8KTJ0hlqabOBOUNvHxQiP6bNteyg+wsMEreWEqU2hml1TiYy7BJK3PileP5 sJ0T/bYaQ9tN6Y5qunduq1in+7Cjn2P3W3zS1OMKpA5nF1jG4c7S072TbQH1HwaiYT/e cCv2qL9lgawAD01GhYHXypdA6gJOn5VaPOE1c1O52a/zlvAk6AOeThGW4fA7PYhkIxMs K4PQ== Received: by 10.152.148.169 with SMTP id tt9mr20424480lab.49.1343120236635; Tue, 24 Jul 2012 01:57:16 -0700 (PDT) Received: from localhost (cs78217178.pp.htv.fi. [62.78.217.178]) by mx.google.com with ESMTPS id hi14sm15938957lab.4.2012.07.24.01.57.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jul 2012 01:57:15 -0700 (PDT) From: Felipe Balbi To: Tony Lindgren Subject: [PATCH 2/5] arm: omap: debug-leds: move initialization to debug-leds Date: Tue, 24 Jul 2012 11:53:59 +0300 Message-Id: <1343120042-16695-3-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.11 In-Reply-To: <1343120042-16695-1-git-send-email-balbi@ti.com> References: <1343120042-16695-1-git-send-email-balbi@ti.com> X-Gm-Message-State: ALoCoQkznBDy1bQWXxXXRVl0PkL5x/7hWdGMyAxKhflZLgPncc5tPQsUYFI8r8BO4iaETHX2xxdp X-Spam-Note: CRM114 invocation failed X-Spam-Score: -4.2 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [74.125.149.247 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Linux OMAP Mailing List , Felipe Balbi , Linux ARM Kernel Mailing List X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org there's no problem in registering debug-leds on module_init() as that's not critical to board boot up. Signed-off-by: Felipe Balbi --- arch/arm/plat-omap/debug-leds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/debug-leds.c b/arch/arm/plat-omap/debug-leds.c index 17cbef6..615d085 100644 --- a/arch/arm/plat-omap/debug-leds.c +++ b/arch/arm/plat-omap/debug-leds.c @@ -306,4 +306,4 @@ static int __init fpga_init(void) { return platform_driver_register(&led_driver); } -fs_initcall(fpga_init); +module_init(fpga_init);