]> git.openfabrics.org - ~tnikolova/compat/.git/commitdiff
compat: move struct va_format to 2.6.35 header
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 5 Aug 2010 19:09:22 +0000 (12:09 -0700)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 5 Aug 2010 19:09:22 +0000 (12:09 -0700)
This was added as of the 2.6.35-rc1 kernel.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
include/linux/compat-2.6.35.h
include/linux/compat-2.6.36.h

index f0562cd760068b30b55619175044b1985341a6da..d2e82ccdbebc6ecb0714b7bd0dd675065da44c22 100644 (file)
@@ -8,6 +8,11 @@
 #include <net/sock.h>
 #include <linux/types.h>
 
+struct va_format {
+       const char *fmt;
+       va_list *va;
+};
+
 /* added on linux/kernel.h */
 #define USHRT_MAX      ((u16)(~0U))
 #define SHRT_MAX       ((s16)(USHRT_MAX>>1))
index b14c772727786b67bd79f3313e5a20b08a2a381e..03071080874cc1f2db4366b9149e3d57d730a81e 100644 (file)
@@ -8,11 +8,6 @@
 #define kparam_block_sysfs_write(a)
 #define kparam_unblock_sysfs_write(a)
 
-struct va_format {
-       const char *fmt;
-       va_list *va;
-};
-
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)) */
 
 #endif /* LINUX_26_36_COMPAT_H */