From patchwork Wed Feb 9 14:10:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 82463 X-Patchwork-Delegate: wd@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 31053B70E7 for ; Thu, 10 Feb 2011 01:10:52 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AEDB7281A0; Wed, 9 Feb 2011 15:10:49 +0100 (CET) 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 FIS6FuYJpZoC; Wed, 9 Feb 2011 15:10:49 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 165F42818F; Wed, 9 Feb 2011 15:10:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1D74E2818F for ; Wed, 9 Feb 2011 15:10:46 +0100 (CET) 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 6jQwK3wbetW7 for ; Wed, 9 Feb 2011 15:10:44 +0100 (CET) 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 moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by theia.denx.de (Postfix) with ESMTP id 0653428136 for ; Wed, 9 Feb 2011 15:10:42 +0100 (CET) Received: from corscience.de (DSL01.212.114.252.242.ip-pool.NEFkom.net [212.114.252.242]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0M371n-1Q5XFU3VUV-00sx2A; Wed, 09 Feb 2011 15:10:36 +0100 Received: from azuregos.CS.local (unknown [192.168.102.9]) by corscience.de (Postfix) with ESMTP id 23CC052175; Wed, 9 Feb 2011 15:10:35 +0100 (CET) From: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= To: u-boot@lists.denx.de Date: Wed, 9 Feb 2011 15:10:31 +0100 Message-Id: <1297260631-13864-4-git-send-email-biessmann@corscience.de> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1297260631-13864-1-git-send-email-biessmann@corscience.de> References: <1297260631-13864-1-git-send-email-biessmann@corscience.de> MIME-Version: 1.0 X-Provags-ID: V02:K0:v1q9eNghhQgruH84blSVUtgUkpYWQ3TkDyB8b2Q27No YikXSgQZ3ZYCCxmHuuoNyXviV31RBMqxdTr6W1VHKDmUzwNoB7 brIv8f8TLT//A8MPUeZMJScVoYtxKBIHPAEnLLsjqxrStgI/ji OslOQMNXvOk1nmepEVEernVoVce3i0UDPqzJOSEyyR3Hw1LL9D 5DE82mc1MwHI4sXSXOInQ== Cc: =?UTF-8?q?Andreas=20Bie=C3=9Fmann?= Subject: [U-Boot] [PATCH 3/3] common/cmd_bdinfo.c: fix do_bdinfo() for AVR32 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: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This patch fixes following warning message: ---8<--- cmd_bdinfo.c:458: warning: initialization from incompatible pointer type --->8--- There was a prototype change in 54841ab50c20d6fa6c9cc3eb826989da3a22d934 for argv[] pointer type to const. This change was not made for AVR32 cause this code came in later by a merge. Signed-off-by: Andreas Bießmann --- common/cmd_bdinfo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index bba7374..1d76ffa 100644 --- a/common/cmd_bdinfo.c +++ b/common/cmd_bdinfo.c @@ -304,7 +304,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) #elif defined(CONFIG_AVR32) -int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) +int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { bd_t *bd = gd->bd;