projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c4626e
)
compat: fix warning in device_rename
author
Hauke Mehrtens
<hauke@hauke-m.de>
Tue, 17 Aug 2010 18:32:33 +0000
(20:32 +0200)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Tue, 17 Aug 2010 22:01:19 +0000
(15:01 -0700)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/linux/compat-2.6.36.h
patch
|
blob
|
history
diff --git
a/include/linux/compat-2.6.36.h
b/include/linux/compat-2.6.36.h
index b14c772727786b67bd79f3313e5a20b08a2a381e..5b48215cbd4e1cd5fdd84b35c7295ebb813d5cfa 100644
(file)
--- 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 */