From 1b21e2520d95b370078744fc26bc0aad5e895c2a Mon Sep 17 00:00:00 2001 From: Kshitij Kulshreshtha Date: Mon, 2 Aug 2010 00:02:51 +0200 Subject: [PATCH] compat: define struct va_format introduced in v2.6.36 Signed-off-by: Kshitij Kulshreshtha --- include/linux/compat-2.6.36.h | 5 +++++ 1 file changed, 5 insertions(+) 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