From: Luis R. Rodriguez Date: Thu, 5 Aug 2010 19:09:22 +0000 (-0700) Subject: compat: move struct va_format to 2.6.35 header X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d6f0174d44360fb2777581c5124d42cc85266dab;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 */