From patchwork Mon Feb 27 20:39:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9594285 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4C73160453 for ; Mon, 27 Feb 2017 21:13:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DFC528491 for ; Mon, 27 Feb 2017 21:13:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3294A28492; Mon, 27 Feb 2017 21:13:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BAD74282E8 for ; Mon, 27 Feb 2017 21:13:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751418AbdB0VMn (ORCPT ); Mon, 27 Feb 2017 16:12:43 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:58725 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbdB0VMm (ORCPT ); Mon, 27 Feb 2017 16:12:42 -0500 Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0M4muv-1cNlSt3Xxd-00yznN; Mon, 27 Feb 2017 21:39:58 +0100 From: Arnd Bergmann To: Michael Hennerich , Dmitry Torokhov Cc: Arnd Bergmann , Stefan Agner , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] touchscreen: ad7879: include linux/property.h Date: Mon, 27 Feb 2017 21:39:40 +0100 Message-Id: <20170227203954.3489470-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:Za2sQfpaQDmOC64xP3uQKmG+xD7ABODFNXu9SGLM8Du4SqCDKKW FT6Zz2nvnLW+RNNSM8enpdGz0aikKl9vHYN5s1Jb4evUCf7E3+CjOXj+pDn/uKOLQBanpha G2hZDqjN2jvNkF4acu1zqSJFZnPEMsDcpP63S9ec8qHL8O8GGtcSZ8UqmKVmFAf+CboCD0v +oTHWHDE5APilYbJ+e3Rg== X-UI-Out-Filterresults: notjunk:1; V01:K0:aA1h6JrQFlQ=:YAp68VEMYqPMiv0YjrZtK8 wfiRwPVhWtHhKR2+rUrpBOM/jIBgNnnv8lOw3vhU4bp3Kd1WgiuUN90ydg00Z+xMJ71ygtMaq AqabbkfuktjcGGfCNqMd0fcl3LmuA7SI/Mp0lebVgbGvHChEJHik7Q0PacsdDE7uEB8mnQE0e dBs6/SzNH15r2/cSXnD0y5nr8ODG935tDN13U17/C2Yy/ySm+SEOJHPi6PruteaF60XHSfUKC 2cgYDchL27331JUick7gDtY1uBVDgDWVjMYToFyeiQ5RAUHOZiWNuPrPzr3VLdf/cpJJzZ9IK W8gDs+AOl3FsN2DshN3EJ/YceUtkDpbJo1YdieMWxaQFNKVg0sYmoGSWMV7gqJh4V4VzJaPa8 pvdC9EIRI1mHRIulR+QrB5y9AwudZCUH8iXfm0YWI045D/PmR6DZqxMUs/v3R1lmRJRkGeqf5 yJWb3I5KyZf9g8lu7pmSgTtVA2d3uw5MSIFZgOuV40hI2n14CRzOKDn+XE5iuY0wLCnH5YTa9 dygV/PLmbH1ZFUOus0/VgC2pLWughlSv4vh80DF3VksFkMQIua4yQi6vYF6FUWKJhOG7etq9k rwTgsersNqXmotXeD4ROYCu/eqVOFWcEr1BLZd77lRCRDibVOnvipH3Ua947puJyVmwe7by/0 QkTB7ekD2+KVpTJd5iZAJ43iFzrF+V5hDydPV2D/w9DEEzpeeDXCzXIoltwft8y5nZ6g= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP I ran into this build failure during randconfig testing: drivers/input/touchscreen/ad7879.c: In function 'ad7879_parse_dt': drivers/input/touchscreen/ad7879.c:505:8: error: implicit declaration of function 'device_property_read_u32' drivers/input/touchscreen/ad7879.c:512:2: error: implicit declaration of function 'device_property_read_u8' drivers/input/touchscreen/ad7879.c:521:16: error: implicit declaration of function 'device_property_read_bool' I could not figure out when this was introduced, as the code doesn't appear to have changed recently, but the fix of including the header with the declaration is obvious. The calls that require the extra header were introduced a year ago in commit fa6e3ca27442 ("Input: ad7879 - add device tree support"). Signed-off-by: Arnd Bergmann --- drivers/input/touchscreen/ad7879.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/ad7879.c b/drivers/input/touchscreen/ad7879.c index 53ab689305ac..1bd870277e1a 100644 --- a/drivers/input/touchscreen/ad7879.c +++ b/drivers/input/touchscreen/ad7879.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include