From: Daniel Mack Date: Thu, 13 Sep 2012 01:01:04 +0000 (+1000) Subject: lis3: lis3lv02d_spi.c: include linux/of.h X-Git-Tag: next-20120917~4^2~110 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2b9089febc80f18a36fe85cfff0f27a023d684a9;p=karo-tx-linux.git 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 Signed-off-by: Andrew Morton --- diff --git a/drivers/misc/lis3lv02d/lis3lv02d_spi.c b/drivers/misc/lis3lv02d/lis3lv02d_spi.c index 8616054737f6..23f398610a39 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"