From: Kshitij Kulshreshtha Date: Sun, 1 Aug 2010 22:02:51 +0000 (+0200) Subject: compat: define struct va_format introduced in v2.6.36 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1b21e2520d95b370078744fc26bc0aad5e895c2a;p=openwrt%2Fstaging%2Fblogic.git compat: define struct va_format introduced in v2.6.36 Signed-off-by: Kshitij Kulshreshtha --- 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 */