All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frode Isaksen <fisaksen@baylibre.com>
To: nsekhar@ti.com, khilman@baylibre.com, ptitiano@baylibre.com,
	linux-arm-kernel@lists.infradead.org
Cc: Frode Isaksen <fisaksen@baylibre.com>,
	broonie@kernel.org, linux-spi@vger.kernel.org
Subject: [PATCH] spi: loopback-test: fix compile error on x86
Date: Fri, 17 Mar 2017 12:07:58 +0100	[thread overview]
Message-ID: <1489748878-15020-1-git-send-email-fisaksen@baylibre.com> (raw)

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>
---
 drivers/spi/spi-loopback-test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c
index 3596051..4e7843e 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"
-- 
2.7.4

WARNING: multiple messages have this Message-ID (diff)
From: fisaksen@baylibre.com (Frode Isaksen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] spi: loopback-test: fix compile error on x86
Date: Fri, 17 Mar 2017 12:07:58 +0100	[thread overview]
Message-ID: <1489748878-15020-1-git-send-email-fisaksen@baylibre.com> (raw)

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>
---
 drivers/spi/spi-loopback-test.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c
index 3596051..4e7843e 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"
-- 
2.7.4

             reply	other threads:[~2017-03-17 11:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-17 11:07 Frode Isaksen [this message]
2017-03-17 11:07 ` [PATCH] spi: loopback-test: fix compile error on x86 Frode Isaksen
     [not found] ` <1489748878-15020-1-git-send-email-fisaksen-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
2017-03-17 21:55   ` Applied "spi: loopback-test: fix compile error on x86" to the spi tree Mark Brown
2017-03-17 21:55     ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489748878-15020-1-git-send-email-fisaksen@baylibre.com \
    --to=fisaksen@baylibre.com \
    --cc=broonie@kernel.org \
    --cc=khilman@baylibre.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=nsekhar@ti.com \
    --cc=ptitiano@baylibre.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.