]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
lis3: lis3lv02d_spi.c: include linux/of.h
authorDaniel Mack <zonque@gmail.com>
Thu, 13 Sep 2012 01:01:04 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 10:46:05 +0000 (20:46 +1000)
This include is needed to define of_match:ptr() for !CONFIG_OF &&
1CONFIG_DTC.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/misc/lis3lv02d/lis3lv02d_spi.c

index 8616054737f699a033d28b778b50224160150d18..23f398610a3990e7d69e10291244a012de8574e6 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/workqueue.h>
 #include <linux/spi/spi.h>
 #include <linux/pm.h>
+#include <linux/of.h>
 #include <linux/of_platform.h>
 
 #include "lis3lv02d.h"