From: Hauke Mehrtens Date: Tue, 17 Aug 2010 18:32:33 +0000 (+0200) Subject: compat: fix warning in device_rename X-Git-Tag: v2.6.37-rc1-1~25 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=4715fbe76040b652ad32cd133fbc6f6ceb4975c1;p=compat-rdma%2Fcompat.git compat: fix warning in device_rename Signed-off-by: Hauke Mehrtens --- diff --git a/include/linux/compat-2.6.36.h b/include/linux/compat-2.6.36.h index b14c772..5b48215 100644 --- a/include/linux/compat-2.6.36.h +++ b/include/linux/compat-2.6.36.h @@ -13,6 +13,8 @@ struct va_format { va_list *va; }; +#define device_rename(dev, new_name) device_rename(dev, (char *)new_name) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36)) */ #endif /* LINUX_26_36_COMPAT_H */