[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1455097547-31053-1-git-send-email-sudipm.mukherjee@gmail.com>
Date: Wed, 10 Feb 2016 15:15:47 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Sanchayan Maity <maitysanchayan@...il.com>
Cc: linux-kernel@...r.kernel.org, kernel-testers@...r.kernel.org,
linux-input@...r.kernel.org,
Sudip Mukherjee <sudipm.mukherjee@...il.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: [PATCH] Input: colibri-vf50-ts: fix implicit declaration
The build of m32r allmodconfig fails with the error:
drivers/input/touchscreen/colibri-vf50-ts.c:302:10: error: implicit
declaration of function 'of_property_read_u32'
of_property_read_u32() is defined in linux/of.h which was not included.
Fixes: 1261d013daea ("Input: Allow compile test of Goodix and Colibri VF50 if !GPIOLIB")
Cc: Geert Uytterhoeven <geert@...ux-m68k.org>
Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>
---
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 5d4903a..594c096 100644
--- a/drivers/input/touchscreen/colibri-vf50-ts.c
+++ b/drivers/input/touchscreen/colibri-vf50-ts.c
@@ -25,6 +25,7 @@
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/types.h>
+#include <linux/of.h>
#define DRIVER_NAME "colibri-vf50-ts"
#define DRV_VERSION "1.0"
--
1.9.1
Powered by blists - more mailing lists