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 13CB8C433E1 for ; Tue, 4 Aug 2020 19:28:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7C7322CBE for ; Tue, 4 Aug 2020 19:28:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596569308; bh=Sftn4epoCLqAwjBylR9Az43Z5oS92gbF9zDuuQ3Jbsw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=LsKSO8Xhwwut/vjBqKvL8hht7jL2RCJlIofiGAMOCb+jCAFyKLf8PbR5wqnFIm/KE kx1u114ZhRj4EIvLRURGQQxjs4W1LCU2qieWNTap2InBxbZeAwWxbLi9lUGSdy1gOz jFeU/QGK+hc0lhVfv2Zsg91J+ln5XSBLt6iaD5io= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728269AbgHDT21 (ORCPT ); Tue, 4 Aug 2020 15:28:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:40752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbgHDT21 (ORCPT ); Tue, 4 Aug 2020 15:28:27 -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 5439F22BED; Tue, 4 Aug 2020 19:28:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596569306; bh=Sftn4epoCLqAwjBylR9Az43Z5oS92gbF9zDuuQ3Jbsw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PaaEC0Cu81JXbpx0VPRJpMqI27MvQFjd92096H9QGoYMoZoieM2bvVc+kKrEzc4Yg AvULxgwjtB8ZyHRRP4bYnXTHXLVovBPr6AqPfJPqk9cOf/oxxhxAvR6+JGS/nSEh6s FjDhXLyCqAv09Qs3FDOyZdagpJaI/mUWJn6v88zM= 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 11/13] ARM: s3c24xx: ts: include platform data header Date: Tue, 4 Aug 2020 21:26:52 +0200 Message-Id: <20200804192654.12783-12-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 platform_data/touchscreen-s3c2410.h header in the touchscreen code to bring the prototypes of defined functions and fix W=1 compile warning: arch/arm/mach-s3c24xx/setup-ts.c:24:6: warning: no previous prototype for 's3c24xx_ts_cfg_gpio' [-Wmissing-prototypes] 24 | void s3c24xx_ts_cfg_gpio(struct platform_device *dev) Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- arch/arm/mach-s3c24xx/setup-ts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-s3c24xx/setup-ts.c b/arch/arm/mach-s3c24xx/setup-ts.c index 53a14d4f4852..bf1a7fcf465f 100644 --- a/arch/arm/mach-s3c24xx/setup-ts.c +++ b/arch/arm/mach-s3c24xx/setup-ts.c @@ -10,6 +10,8 @@ struct platform_device; /* don't need the contents */ +#include + #include #include #include -- 2.17.1 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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 BE214C433DF for ; Tue, 4 Aug 2020 19:30:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 93250206DA for ; Tue, 4 Aug 2020 19:30:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="P6FL5SV9"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="PaaEC0Cu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 93250206DA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WawVm5W6EyuXSrZGNyfTh08ukcEfWNG/CZj+caI3+60=; b=P6FL5SV9mMoGZEUgJ7kiwPlHoA BMd+zQRIFErGI98FcAdnHiZVXSs94axOeM96aA7ucpIZ502CXFmpcPm53nIJYfHjkSud0TOcVxd8R 2A6VWMvobagAuJWITEXptTY4QYXe+iUPdI0B+TysxtyERdr73Yj23tUJxN5B3SzYRR4zK1mynFMtH 8Anbp+c697IQe8MTv+gMydA5Xlx/uwlJaq9RzxM+sTIVu/j+l0T9mA7Pbj9DE3g/Rep2le7GRhOUT OWPpKYjA+9tGsmoP6l8gVIhgFN1H2/E01oLMpRi5rWN8KkaMhk38YuNWFNcamGIeAW9br5OUa5qvW 6Ibjo2cg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k32cG-0002yt-Ry; Tue, 04 Aug 2020 19:28:52 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k32bs-0002jH-61 for linux-arm-kernel@lists.infradead.org; Tue, 04 Aug 2020 19:28:32 +0000 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 5439F22BED; Tue, 4 Aug 2020 19:28:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596569306; bh=Sftn4epoCLqAwjBylR9Az43Z5oS92gbF9zDuuQ3Jbsw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PaaEC0Cu81JXbpx0VPRJpMqI27MvQFjd92096H9QGoYMoZoieM2bvVc+kKrEzc4Yg AvULxgwjtB8ZyHRRP4bYnXTHXLVovBPr6AqPfJPqk9cOf/oxxhxAvR6+JGS/nSEh6s FjDhXLyCqAv09Qs3FDOyZdagpJaI/mUWJn6v88zM= 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 Subject: [PATCH v2 11/13] ARM: s3c24xx: ts: include platform data header Date: Tue, 4 Aug 2020 21:26:52 +0200 Message-Id: <20200804192654.12783-12-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200804_152828_505308_1301B6C6 X-CRM114-Status: GOOD ( 15.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sylwester Nawrocki , Lihua Yao , Cedric Roux , Sergio Prado , Marek Szyprowski MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Include platform_data/touchscreen-s3c2410.h header in the touchscreen code to bring the prototypes of defined functions and fix W=1 compile warning: arch/arm/mach-s3c24xx/setup-ts.c:24:6: warning: no previous prototype for 's3c24xx_ts_cfg_gpio' [-Wmissing-prototypes] 24 | void s3c24xx_ts_cfg_gpio(struct platform_device *dev) Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- arch/arm/mach-s3c24xx/setup-ts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-s3c24xx/setup-ts.c b/arch/arm/mach-s3c24xx/setup-ts.c index 53a14d4f4852..bf1a7fcf465f 100644 --- a/arch/arm/mach-s3c24xx/setup-ts.c +++ b/arch/arm/mach-s3c24xx/setup-ts.c @@ -10,6 +10,8 @@ struct platform_device; /* don't need the contents */ +#include + #include #include #include -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel