From d6f0174d44360fb2777581c5124d42cc85266dab Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Thu, 5 Aug 2010 12:09:22 -0700 Subject: [PATCH] compat: move struct va_format to 2.6.35 header This was added as of the 2.6.35-rc1 kernel. Signed-off-by: Luis R. Rodriguez --- 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 f0562cd76006..d2e82ccdbebc 100644 --- a/include/linux/compat-2.6.35.h +++ b/include/linux/compat-2.6.35.h @@ -8,6 +8,11 @@ #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 b14c77272778..03071080874c 100644 --- a/include/linux/compat-2.6.36.h +++ b/include/linux/compat-2.6.36.h @@ -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 */ -- 2.30.2