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: 102817 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp2700130lbl; Wed, 10 Feb 2016 07:12:06 -0800 (PST) X-Received: by 10.66.102.40 with SMTP id fl8mr58892799pab.136.1455117091587; Wed, 10 Feb 2016 07:11:31 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ah10si5618515pad.118.2016.02.10.07.11.31; Wed, 10 Feb 2016 07:11:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-input-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751242AbcBJPL3 (ORCPT + 1 other); 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 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(+) -- 2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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