git.samba.org
/
sfrench
/
cifs-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
576333a
)
spi: loopback-test: fix compile error on x86
author
Frode Isaksen
<fisaksen@baylibre.com>
Fri, 17 Mar 2017 11:07:58 +0000
(12:07 +0100)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-loopback-test.c
b/drivers/spi/spi-loopback-test.c
index 35960515382eafe579eb1e3ee794cf489e64307a..4e7843ec8aac8af5f486199f18b0c0e7a18b3809 100644
(file)
--- 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"