diff options
author | Frode Isaksen <fisaksen@baylibre.com> | 2017-03-17 12:07:58 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-17 13:06:12 +0000 |
commit | e542f7e63cb17242fcfc1be5edd69532cf434697 (patch) | |
tree | 2d3d9ab5f2c74d13dd6308ce56b2765119698aaa /drivers/spi/spi-loopback-test.c | |
parent | 576333a1fb940767e8638fafea908214682e8acd (diff) | |
download | linux-stable-e542f7e63cb17242fcfc1be5edd69532cf434697.tar.gz linux-stable-e542f7e63cb17242fcfc1be5edd69532cf434697.tar.bz2 linux-stable-e542f7e63cb17242fcfc1be5edd69532cf434697.zip |
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/spi-loopback-test.c')
-rw-r--r-- | drivers/spi/spi-loopback-test.c | 1 |
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" |