]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[IA64] Fix a couple of warnings for EXPORT_SYMBOL
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 27 Feb 2012 23:08:25 +0000 (18:08 -0500)
committerTony Luck <tony.luck@intel.com>
Tue, 28 Feb 2012 00:20:09 +0000 (16:20 -0800)
To get rid of things like:

arch/ia64/sn/kernel/sn2/sn_hwperf.c:1002:1: warning: data definition has no type or storage class
arch/ia64/sn/kernel/sn2/sn_hwperf.c:1002:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/ia64/sn/kernel/sn2/sn_hwperf.c:1002:1: warning: parameter names (without types) in function declaration

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/io_common.c
arch/ia64/sn/kernel/sn2/sn_hwperf.c

index 4433dd019d3c92ef3fa7cf71d7df61ce58864c6b..fbb5f2f87eedb0a3c5d934873435a23267cf5599 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <linux/bootmem.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <asm/sn/types.h>
 #include <asm/sn/addrs.h>
index 2de41d44266ebc2e860ad185e88cb4ff07e0eab7..4554f68b786524e7df3608cbf3b105fb8edf5030 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <linux/fs.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <linux/vmalloc.h>
 #include <linux/seq_file.h>
 #include <linux/miscdevice.h>