From patchwork Wed Jul 29 16:09:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11691305 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8E9B6722 for ; Wed, 29 Jul 2020 16:11:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 76B6822B47 for ; Wed, 29 Jul 2020 16:11:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596039074; bh=OqsgY3rHZz/mK8qRiE5XeKJITCSK/QQUmG6SXu1vxkE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=uDFeXxAThrLM+wPyMrGi5QN/JlNFamnam8UIQP/se3UQckA1CWOcQNEBSFU4DnLpI VrnGCKDt/Ieds/SMPfKivflCJx4rfNcrxgUvPw/dSCUlxW2+vgKD2rqYksQZ+xjVmE +pRsPg0JPBuu0e/sA9lIx2OQt/vXv76QWw1V0ofY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726975AbgG2QLL (ORCPT ); Wed, 29 Jul 2020 12:11:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:48886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbgG2QLK (ORCPT ); Wed, 29 Jul 2020 12:11:10 -0400 Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (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 CF7502083E; Wed, 29 Jul 2020 16:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596039070; bh=OqsgY3rHZz/mK8qRiE5XeKJITCSK/QQUmG6SXu1vxkE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zhoyfxI8BIJn4/VmfqPmVr5vpeyRqX32Y4GLvb/iPzdyLN90aohd0jlCDvryFnFgJ /kg91CvjikQkPlQLkG3pWBAXfuIf1/ml9MSUv1O1yW39LUppqWVuIm4o5MattfkmX/ k3bx83msaDdPKu6LN0Up3y5+SNFl7Ema6i7S0/Wo= From: Krzysztof Kozlowski To: Russell King , Kukjin Kim , Krzysztof Kozlowski , Vincent Sanders , Simtec Linux Team , Kyungmin Park , Catalin Marinas , Will Deacon , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Michael Turquette , Stephen Boyd , Wim Van Sebroeck , Guenter Roeck , Arnd Bergmann , Linus Walleij , linux-kernel@vger.kernel.org, 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 2/7] ARM: s3c64xx: Include header to fix -Wmissing-prototypes Date: Wed, 29 Jul 2020 18:09:37 +0200 Message-Id: <20200729160942.28867-3-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200729160942.28867-1-krzk@kernel.org> References: <20200729160942.28867-1-krzk@kernel.org> Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org Include the spi-s3c64xx.h header to fix W=1 build warning: arch/arm/mach-s3c64xx/setup-spi.c:11:5: warning: no previous prototype for 's3c64xx_spi0_cfg_gpio' [-Wmissing-prototypes] 11 | int s3c64xx_spi0_cfg_gpio(void) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Tomasz Figa --- arch/arm/mach-s3c64xx/setup-spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-s3c64xx/setup-spi.c b/arch/arm/mach-s3c64xx/setup-spi.c index 39dfae1f46e7..03c9d296bb0f 100644 --- a/arch/arm/mach-s3c64xx/setup-spi.c +++ b/arch/arm/mach-s3c64xx/setup-spi.c @@ -4,6 +4,7 @@ // http://www.samsung.com/ #include +#include #include #include