>From 3c415511cb825d5b5d015b716e14d720a3d56bf6 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Sat, 8 Sep 2012 12:41:33 +0200 Subject: [PATCH] lis3: lis3lv02d_spi.c: include linux/of.h This include is needed to define of_match:ptr() for !CONFIG_OF && 1CONFIG_DTC. Signed-off-by: Daniel Mack Reported-by: Randy Dunlap --- drivers/misc/lis3lv02d/lis3lv02d_spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/lis3lv02d/lis3lv02d_spi.c b/drivers/misc/lis3lv02d/lis3lv02d_spi.c index 8616054..23f3986 100644 --- a/drivers/misc/lis3lv02d/lis3lv02d_spi.c +++ b/drivers/misc/lis3lv02d/lis3lv02d_spi.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include "lis3lv02d.h" -- 1.7.11.4