summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorFrode Isaksen <fisaksen@baylibre.com>2017-03-17 12:07:58 +0100
committerMark Brown <broonie@kernel.org>2017-03-17 13:06:12 +0000
commite542f7e63cb17242fcfc1be5edd69532cf434697 (patch)
tree2d3d9ab5f2c74d13dd6308ce56b2765119698aaa /drivers/spi
parent576333a1fb940767e8638fafea908214682e8acd (diff)
downloadlinux-e542f7e63cb17242fcfc1be5edd69532cf434697.tar.bz2
spi: loopback-test: fix compile error on x86
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-loopback-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c
index 35960515382e..4e7843ec8aac 100644
--- a/drivers/spi/spi-loopback-test.c
+++ b/drivers/spi/spi-loopback-test.c
@@ -25,6 +25,7 @@
#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"