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 f0562cd..d2e82cc 100644 (file)
@@ -8,6 +8,11 @@
 #include <net/sock.h>
 #include <linux/types.h>
 
 #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))
 /* added on linux/kernel.h */
 #define USHRT_MAX      ((u16)(~0U))
 #define SHRT_MAX       ((s16)(USHRT_MAX>>1))
index b14c772..0307108 100644 (file)
@@ -8,11 +8,6 @@
 #define kparam_block_sysfs_write(a)
 #define kparam_unblock_sysfs_write(a)
 
 #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 */
 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)) */
 
 #endif /* LINUX_26_36_COMPAT_H */