]> git.baikalelectronics.ru Git - kernel.git/commit
xen: using EXPORT_SYMBOL requires including export.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 18 Jan 2012 23:24:31 +0000 (10:24 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 Jan 2012 23:37:49 +0000 (15:37 -0800)
commit489b199bcc7a7a20390dd9e6180c0c906d411ae1
tree1786e9a8440a16a5e177290d9e60472a03ccdd96
parent1bcc0f20bf47cbbd271c3e4b4b45a000944aa09b
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>
drivers/xen/biomerge.c