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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
Frode Isaksen 2017-03-17 12:07:58 +01:00 • committed by Mark Brown
commit e542f7e63c

View file

@ -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"