spi: loopback-test: fix compile error on x86
authorFrode Isaksen <fisaksen@baylibre.com>
Fri, 17 Mar 2017 11:07:58 +0000 (12:07 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 17 Mar 2017 13:06:12 +0000 (13:06 +0000)
Fix compile error caused by missing vmalloc() definition
on x86 (and maybe other platforms) by including vmalloc.h.

Signed-off-by: Frode Isaksen <fisaksen@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-loopback-test.c

index 35960515382eafe579eb1e3ee794cf489e64307a..4e7843ec8aac8af5f486199f18b0c0e7a18b3809 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/module.h>
 #include <linux/of_device.h>
 #include <linux/printk.h>
 #include <linux/module.h>
 #include <linux/of_device.h>
 #include <linux/printk.h>
+#include <linux/vmalloc.h>
 #include <linux/spi/spi.h>
 
 #include "spi-test.h"
 #include <linux/spi/spi.h>
 
 #include "spi-test.h"