From patchwork Sat Aug 18 23:28:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 178502 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 C84082C009C for ; Sun, 19 Aug 2012 09:28:46 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D8B56284A9; Sun, 19 Aug 2012 01:28:42 +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 Y0nG-Do7f2MH; Sun, 19 Aug 2012 01:28:42 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 75DF628466; Sun, 19 Aug 2012 01:28:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8EE0728453 for ; Sun, 19 Aug 2012 01:28:30 +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 1KHH36ShLBmf for ; Sun, 19 Aug 2012 01:28:30 +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-gh0-f172.google.com (mail-gh0-f172.google.com [209.85.160.172]) by theia.denx.de (Postfix) with ESMTPS id 89B042843B for ; Sun, 19 Aug 2012 01:28:27 +0200 (CEST) Received: by ghbg16 with SMTP id g16so5166306ghb.3 for ; Sat, 18 Aug 2012 16:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=MJprhLKVlQQVISOTx87InjwXfjLX0ayg6aMtDag9nPA=; b=x7jOaqpvvrZexaDJFnXJ016UmLhAaedp3X6aGVyRdqCNPYJAapCefUbL0XeraqFxA9 MOEJoFSEogbdH7dZutxcGXlpqMBoSSU6Asj/XG2fQvfLt5/3x4ibnamNOJUA2LD377B4 e9YYxAzVlfljKfCOThTl9M6jnpbfGKhINKNtd1ExllJvoeBLPIYajdgO9x07FU8G26hS neOy8Hlc1No1ltArz3dN0DX5vtLeVogr8ClGTdxni3XKs8v+dziMXyPBHDrRwMW+cxFR px/v2+c8WhRO1t+pkNYalwxLhGmrIBVjfXRYpxH4a3GhIMu73yDAdv9fEBLbE42WNqlZ 6yTQ== Received: by 10.236.79.97 with SMTP id h61mr14826896yhe.16.1345332506603; Sat, 18 Aug 2012 16:28:26 -0700 (PDT) Received: from localhost.localdomain ([189.101.148.2]) by mx.google.com with ESMTPS id p21sm21384355yhj.11.2012.08.18.16.28.24 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 18 Aug 2012 16:28:26 -0700 (PDT) From: Fabio Estevam To: marex@denx.de Date: Sat, 18 Aug 2012 20:28:12 -0300 Message-Id: <1345332492-3273-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345332492-3273-1-git-send-email-festevam@gmail.com> References: <1345332492-3273-1-git-send-email-festevam@gmail.com> MIME-Version: 1.0 Cc: Fabio Estevam , u-boot@lists.denx.de, otavio.salvador@ossystems.com.br Subject: [U-Boot] =?utf-8?q?=5BPATCH_2/2=5D_mxs=3A_Use_correct_function_na?= =?utf-8?q?me_to_initialize_dram?= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 From: Fabio Estevam commit d92591a (mxs: Convert sys_proto.h prefixes to 'mxs') introduced a mxs_dram_init() function, which is not used anywhere. Fix it, so that the following warning goes away: mx28evk.c: In function ‘dram_init’: mx28evk.c:67:2: warning: implicit declaration of function ‘mx28_dram_init’ [-Wimplicit-function-declaration] Signed-off-by: Fabio Estevam Acked-by: Marek Vasut Acked-by: Otavio Salvador --- arch/arm/include/asm/arch-mxs/sys_proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h index 9d1e599..4610363 100644 --- a/arch/arm/include/asm/arch-mxs/sys_proto.h +++ b/arch/arm/include/asm/arch-mxs/sys_proto.h @@ -69,6 +69,6 @@ struct mxs_spl_data { uint32_t mem_dram_size; }; -int mxs_dram_init(void); +int mx28_dram_init(void); #endif /* __SYS_PROTO_H__ */