Explorar o código

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>
Frode Isaksen %!s(int64=8) %!d(string=hai) anos
pai
achega
e542f7e63c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/spi/spi-loopback-test.c

+ 1 - 0
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"