From patchwork Wed Feb 10 15:10:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 8272641 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C19419F6DA for ; Wed, 10 Feb 2016 15:11:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 554BD201ED for ; Wed, 10 Feb 2016 15:11:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4492820364 for ; Wed, 10 Feb 2016 15:11:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751242AbcBJPL3 (ORCPT ); Wed, 10 Feb 2016 10:11:29 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:51825 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751057AbcBJPL2 (ORCPT ); Wed, 10 Feb 2016 10:11:28 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue001) with ESMTPA (Nemesis) id 0LjR72-1ZsGrO2Nwm-00bZFi; Wed, 10 Feb 2016 16:11:02 +0100 From: Arnd Bergmann To: Dmitry Torokhov Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Sanchayan Maity , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: colibri ts: include linux/of.h explicitly Date: Wed, 10 Feb 2016 16:10:42 +0100 Message-Id: <1455117056-2975628-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:jF9NnD/uRqTqHvw+OhDKFSu2qArID0L4sjH4Ipynrvg+/nYxhbt ksCqWFnbhjD+UPbMUfOR1kquRWPUOwXLmJ78qKeskT9D/uST7B6ifXxd8TCmgmW0qoMaE2f 5pUSeLnwEu0qCAttwMpWMnwfbGR7r9MZzX1YorNQnV8eZ4XQHtar/zlTzRJ2DJrMiEvWIzv qiK74/O+ornejuHm8ZF/g== X-UI-Out-Filterresults: notjunk:1; V01:K0:HcXrvlKJoMM=:cLcHluqw/fq5/9xzI4f/89 cY0Uohl7OoKpKkyk7m3HWafnJKQ18rXjUAIA40bsOC1ml6gZfzkUUfyexDgDENzf7HKSl6+9r +v2+pZLyeoWqCBF/YBsf6UOEbejh6ecyoiYQnwd0Ms8MwqspTvpsi6mKf5AJW/Lp7zEOPsaJU yRHMHS+A0WEljuUuBzU31LWhK690N5sZiIHAyFZKDgog1fdq05q4RscRd9w/oMrxtH9DdeYMv RC5rP/ZW+/KlUVcre0DCyEJP+0kJ1J96NTNykNIv87OdnyuGCnPqRXQjESpea8lfis6+kMK5P 3dqIe1AOQzk0xeq8aYkYXHWNSCiPPHNn5xB2Gt8OL6u4kIHE/JV0JcmjLotIUqdPbOBY1mpt7 9l1h0lTWc+eyCdMtLlLkf2zTwc79WZodERS2pTrqyoSEynlv8/yucPr6wyqUYrPFuQi2QtR6L JZ8GtBdFns+U0oXqTLbAoq7PYDQmrGEFjPdthUjpyyr1OBt56ktzWEQtM74QHit0MzwGWiK4p L9yeom9wACZ65AU+DiHqA+fugdXiU9Hh7pO7zdBnFj4Q/Ig3dNXfsUJd/qxRMvc5CJh//vrkg k2LFJ0dl9GexZEUAC0tfnAseRvn/GnaMQ2oPVHMyJMNE6qtm5sCY2/yZHu5Vyx9pDt5EtLOtR KQW+kBKGFuy1n8xMQM1KWQebUJ0Vh8LOMV0rpFdky0bOEocBbmN0x6EMMHvEkuzoKLHM= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The newly added driver calls functions for accessing the DT but does not include the header they are defined in, which fails in configurations in which we don't get the header implicitly through something else: drivers/input/touchscreen/colibri-vf50-ts.c: In function 'vf50_ts_probe': drivers/input/touchscreen/colibri-vf50-ts.c:302:10: error: implicit declaration of function 'of_property_read_u32' [-Werror=implicit-function-declaration] This adds an explict #include, to ensure we can always build it. Signed-off-by: Arnd Bergmann Fixes: 48ead50c1dd8 ("Input: Add touchscreen support for Colibri VF50") --- drivers/input/touchscreen/colibri-vf50-ts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/colibri-vf50-ts.c b/drivers/input/touchscreen/colibri-vf50-ts.c index 5d4903a402cc..69828d015d45 100644 --- a/drivers/input/touchscreen/colibri-vf50-ts.c +++ b/drivers/input/touchscreen/colibri-vf50-ts.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include