summaryrefslogtreecommitdiffstats
path: root/drivers/xen/biomerge.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2012-01-19 00:24:31 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-19 00:37:49 +0100
commit9ef9b20bd0eef609f07960a997c13cab8fe15d2e (patch)
tree1786e9a8440a16a5e177290d9e60472a03ccdd96 /drivers/xen/biomerge.c
parentMerge branch 'for-linus/i2c-33' of git://git.fluff.org/bjdooks/linux (diff)
downloadlinux-9ef9b20bd0eef609f07960a997c13cab8fe15d2e.tar.xz
linux-9ef9b20bd0eef609f07960a997c13cab8fe15d2e.zip
xen: using EXPORT_SYMBOL requires including export.h
Fix these warnings: drivers/xen/biomerge.c:14:1: warning: data definition has no type or storage class [enabled by default] drivers/xen/biomerge.c:14:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' [-Wimplicit-int] drivers/xen/biomerge.c:14:1: warning: parameter names (without types) in function declaration [enabled by default] And this build error: ERROR: "xen_biovec_phys_mergeable" [drivers/block/nvme.ko] undefined! Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/xen/biomerge.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/biomerge.c b/drivers/xen/biomerge.c
index 18c1bb6ffce3..0edb91c0de6b 100644
--- a/drivers/xen/biomerge.c
+++ b/drivers/xen/biomerge.c
@@ -1,5 +1,6 @@
#include <linux/bio.h>
#include <linux/io.h>
+#include <linux/export.h>
#include <xen/page.h>
bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,