From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11718C433E3 for ; Tue, 4 Aug 2020 19:28:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E6E8F22CBE for ; Tue, 4 Aug 2020 19:28:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596569303; bh=V/XnlICubaqSdGc/oVbL46LdDLz8pa5t8bkW3kyzvAw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ZlVa7Jytu+h6KgqXgXWjoVjLdah8Sdi340ciMZMQySqn780k4m2UrbkdHa0L6xafQ vZemzfc/FKMcUMglRlpGoEbWsja3kgvSTj9Pt8u9Nm+6KMWFrtVldddF42D6fa+xnd V+M6voEP8rxgjocdXjoFoIHIUkLRqJufTDcLa+08= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728264AbgHDT2W (ORCPT ); Tue, 4 Aug 2020 15:28:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:40632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbgHDT2V (ORCPT ); Tue, 4 Aug 2020 15:28:21 -0400 Received: from localhost.localdomain (unknown [194.230.155.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A4A7522B42; Tue, 4 Aug 2020 19:28:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596569300; bh=V/XnlICubaqSdGc/oVbL46LdDLz8pa5t8bkW3kyzvAw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lp9rL0QjqRmYlIilySHlm+OoQDEI75KLDagAujimB4X5nPwr0UaaeJ6sjYLcWMK17 3t4IEKW+3btM8obpbEi9ukBNEMuaAJUPGQMAu2HhgpAH5jg4iGRagtO/Xrcjexguxv WN1no2xHHDDPeAIK+u5eOw/tw5DT10EFnlds4Aw0= From: Krzysztof Kozlowski To: Russell King , Kukjin Kim , Krzysztof Kozlowski , Simtec Linux Team , Maxime Coquelin , Alexandre Torgue , Kyungmin Park , Catalin Marinas , Will Deacon , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Michael Turquette , Stephen Boyd , Wim Van Sebroeck , Guenter Roeck , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, patches@opensource.cirrus.com, linux-clk@vger.kernel.org, linux-watchdog@vger.kernel.org Cc: Sergio Prado , Marek Szyprowski , Sylwester Nawrocki , Cedric Roux , Lihua Yao Subject: [PATCH v2 10/13] ARM: s3c24xx: sdhci: include plat/sdhci.h header Date: Tue, 4 Aug 2020 21:26:51 +0200 Message-Id: <20200804192654.12783-11-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200804192654.12783-1-krzk@kernel.org> References: <20200804192654.12783-1-krzk@kernel.org> Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Include plat/sdhci.h header in the sdhci code to bring the prototypes of defined functions and fix W=1 compile warnings: arch/arm/mach-s3c24xx/setup-sdhci-gpio.c:21:6: warning: no previous prototype for 's3c2416_setup_sdhci0_cfg_gpio' [-Wmissing-prototypes] 21 | void s3c2416_setup_sdhci0_cfg_gpio(struct platform_device *dev, int width) arch/arm/mach-s3c24xx/setup-sdhci-gpio.c:26:6: warning: no previous prototype for 's3c2416_setup_sdhci1_cfg_gpio' [-Wmissing-prototypes] 26 | void s3c2416_setup_sdhci1_cfg_gpio(struct platform_device *dev, int width) Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- arch/arm/mach-s3c24xx/setup-sdhci-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c b/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c index 218346a36d1e..ff5c0a51ded5 100644 --- a/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c +++ b/arch/arm/mach-s3c24xx/setup-sdhci-gpio.c @@ -17,6 +17,7 @@ #include #include #include +#include void s3c2416_setup_sdhci0_cfg_gpio(struct platform_device *dev, int width) { -- 2.17.1