From 3494e3fc0cafbb4a340d558d38e4c0e46fdd5b55 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 7 Aug 2010 15:32:19 +0200 Subject: [PATCH] compat: move va_format to compat-2.6.36.h This struct was introduced in kernel 2.6.36 and not 2.6.35. Signed-off-by: Hauke Mehrtens --- include/linux/compat-2.6.35.h | 5 ----- include/linux/compat-2.6.36.h | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/compat-2.6.35.h b/include/linux/compat-2.6.35.h index d2e82ccdbebc..f0562cd76006 100644 --- a/include/linux/compat-2.6.35.h +++ b/include/linux/compat-2.6.35.h @@ -8,11 +8,6 @@ #include #include -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)) diff --git a/include/linux/compat-2.6.36.h b/include/linux/compat-2.6.36.h index 03071080874c..b14c77272778 100644 --- a/include/linux/compat-2.6.36.h +++ b/include/linux/compat-2.6.36.h @@ -8,6 +8,11 @@ #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 */ -- 2.30.2