From patchwork Thu Jun 26 08:01:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar X-Patchwork-Id: 364295 X-Patchwork-Delegate: promsoft@gmail.com 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 D77CC1400B9 for ; Thu, 26 Jun 2014 18:05:00 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9431EA7712; Thu, 26 Jun 2014 10:04: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 WeeRjKkXn+rj; Thu, 26 Jun 2014 10:04:42 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C51DFA7702; Thu, 26 Jun 2014 10:04:00 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6CDAFA76EB for ; Thu, 26 Jun 2014 10:03:53 +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 y5DKPUVd939u for ; Thu, 26 Jun 2014 10:03:50 +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 mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by theia.denx.de (Postfix) with ESMTPS id 13927A76EA for ; Thu, 26 Jun 2014 10:03:43 +0200 (CEST) Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N7R0030LNQ49U20@mailout1.samsung.com> for u-boot@lists.denx.de; Thu, 26 Jun 2014 17:03:40 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 57.08.14704.CD3DBA35; Thu, 26 Jun 2014 17:03:40 +0900 (KST) X-AuditID: cbfee68f-b7fef6d000003970-94-53abd3dc8ab0 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 41.96.05196.CD3DBA35; Thu, 26 Jun 2014 17:03:40 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N7R00LRHNPHRI40@mmp1.samsung.com>; Thu, 26 Jun 2014 17:03:40 +0900 (KST) From: Ajay Kumar To: u-boot@lists.denx.de Date: Thu, 26 Jun 2014 13:31:04 +0530 Message-id: <1403769668-2026-7-git-send-email-ajaykumar.rs@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1403769668-2026-1-git-send-email-ajaykumar.rs@samsung.com> References: <1403769668-2026-1-git-send-email-ajaykumar.rs@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrALMWRmVeSWpSXmKPExsWyRsSkWvfO5dXBBifXqVoceH+QxWLDm4XM FtfP21l0HGlhtFh1eAO7xbct2xgt3u7tZHdg95jdcJHFY+esu+weZ+/sYPTo27KKMYAlissm JTUnsyy1SN8ugStj1+8eloIW9or353rYGxj72LoYOTkkBEwkJnQfYoWwxSQu3FsPFhcSWMoo cWdSHkzNm9MXGLsYuYDiixglGreeYYVwJjBJ3PkI0cEmoC2xbfpNFhBbREBC4lf/VbAOZoEZ jBJHH0xjAkkIC8RK/PzzBGwdi4CqRN/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4riTc0NjE3NTa1NLEwMbNUEuc92GodKCSQnliSmp2aWpBaBNPHxMEp 1cDIoRJnvOLg/Z6ZNcuvV6zbyN5/Y79A93S/EzbRVgEtM9TEahhXXFXcrL0jRTaQg3Va75Ta vX9VWZta9eZ66YaY7r2p81qibe1ze96WYs58/d0eQgZC2c/zDqq659trHUhY4f5jnvnl6Q1X 26QieVaxXuuY/eHvq/gFho9CpcuX5k/ss019/EKJpTgj0VCLuag4EQDXTzwsswIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Cc: dh09.lee@samsung.com, prashanth.g@samsung.com, Ajay Kumar Subject: [U-Boot] [TEST_ONLY V2 06/10] ARM: exynos: Add missing declaration for gpio_direction_input 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: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This patch adds missing declaration for gpio_direction_input function, thereby helps in resolving compilation warnings. Signed-off-by: Ajay Kumar --- arch/arm/include/asm/arch-exynos/gpio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/include/asm/arch-exynos/gpio.h index be5113f..8fb5c23 100644 --- a/arch/arm/include/asm/arch-exynos/gpio.h +++ b/arch/arm/include/asm/arch-exynos/gpio.h @@ -1504,6 +1504,7 @@ static const struct gpio_name_num_table exynos5420_gpio_table[] = { void gpio_cfg_pin(int gpio, int cfg); void gpio_set_pull(int gpio, int mode); void gpio_set_drv(int gpio, int mode); +int gpio_direction_input(unsigned gpio); int gpio_direction_output(unsigned gpio, int value); int gpio_set_value(unsigned gpio, int value); int gpio_get_value(unsigned gpio);