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: 1230591 Return-Path: X-Original-To: patchwork-linux-omap@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 178883FD4F for ; Tue, 24 Jul 2012 08:57:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751947Ab2GXI5U (ORCPT ); Tue, 24 Jul 2012 04:57:20 -0400 Received: from na3sys009aog132.obsmtp.com ([74.125.149.250]:48116 "EHLO na3sys009aog132.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752538Ab2GXI5T (ORCPT ); Tue, 24 Jul 2012 04:57:19 -0400 Received: from mail-lpp01m010-f42.google.com ([209.85.215.42]) (using TLSv1) by na3sys009aob132.postini.com ([74.125.148.12]) with SMTP ID DSNKUA5jbnUBIZwEkajs9ZtItxQAWrf0w683@postini.com; Tue, 24 Jul 2012 01:57:18 PDT Received: by lago2 with SMTP id o2so1360879lag.1 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=AqVyOGx+CG13QtM/uUziTq1Khye5XtFlmGdyNlZlNuSoNr2WrkbIyrE2RGdMsguXe4 i4kURlIQnlUcRXs6OAvw+rM2EF7/CE/aQQmBbrPuaOcLNwgHeLcpRhZkYp/cy/XIsNrV l2DXXt1rZ0t8pqwXIC1XRsSfiFSccvuIgyWbFKWx1cSzXzw9wjLii84ZlKKYKHBRFwVS w+eDBBA/mR/ZX6hguNQnxwFzvg8Ga92UkecOLuBP9m3gR9BbkPUYDoHZIesOa1Vcvrrs gtk76ZK4NgTtWhc4ueSbAw0RuiPiqLhqh3W0athFQ02IzaXYXrKgqZ3Ud9DLuwnkMzj/ WQcA== 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 Cc: Linux OMAP Mailing List , Linux ARM Kernel Mailing List , Felipe Balbi 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: ALoCoQkarMTWbm48B8Bw71Nj0iZnu6X3Cnz/c5Zrd3kWAnxQsF6tnrRWC+8jKpsuxhzW5LDhYDEy Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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);