From patchwork Wed Oct 5 01:02:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 117730 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id AFCE4B6F70 for ; Wed, 5 Oct 2011 12:04:49 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C5F5929E48; Wed, 5 Oct 2011 03:04:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mQ1b1uCC0jIa; Wed, 5 Oct 2011 03:04:28 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BA2AA29DFC; Wed, 5 Oct 2011 03:03:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1637F29B7E for ; Wed, 5 Oct 2011 03:03:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0NaAZ077HEtV for ; Wed, 5 Oct 2011 03:03:43 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by theia.denx.de (Postfix) with ESMTPS id 3E33829D55 for ; Wed, 5 Oct 2011 03:03:17 +0200 (CEST) Received: by mail-yx0-f172.google.com with SMTP id 33so1073226yxt.3 for ; Tue, 04 Oct 2011 18:03:17 -0700 (PDT) Received: by 10.150.176.10 with SMTP id y10mr1831430ybe.351.1317776596965; Tue, 04 Oct 2011 18:03:16 -0700 (PDT) Received: from localhost.localdomain ([187.106.42.141]) by mx.google.com with ESMTPS id 8sm9372198anv.9.2011.10.04.18.03.14 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Oct 2011 18:03:15 -0700 (PDT) From: Fabio Estevam To: u-boot@lists.denx.de Date: Tue, 4 Oct 2011 22:02:35 -0300 Message-Id: <1317776556-2622-13-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1317776556-2622-1-git-send-email-festevam@gmail.com> References: <1317776556-2622-1-git-send-email-festevam@gmail.com> Cc: Fabio Estevam Subject: [U-Boot] [PATCH v2 4/5] imx27lite: Fix coding style X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Fix warnings generated by checkpatch. Signed-off-by: Fabio Estevam --- Changes since v1: - Fix typo on subject board/logicpd/imx27lite/imx27lite.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index 2b273ac..8a5015c 100644 --- a/board/logicpd/imx27lite/imx27lite.c +++ b/board/logicpd/imx27lite/imx27lite.c @@ -26,7 +26,7 @@ DECLARE_GLOBAL_DATA_PTR; -int board_init (void) +int board_init(void) { struct gpio_regs *regs = (struct gpio_regs *)IMX_GPIO_BASE; #if defined(CONFIG_SYS_NAND_LARGEPAGE) @@ -64,7 +64,7 @@ int board_init (void) return 0; } -int dram_init (void) +int dram_init(void) { /* dram_init must store complete ramsize in gd->ram_size */ gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE, @@ -86,7 +86,7 @@ void dram_init_banksize(void) int checkboard(void) { - puts ("Board: "); + puts("Board: "); puts(CONFIG_BOARDNAME); return 0; }