24 lines
643 B
Diff
24 lines
643 B
Diff
|
From: Jiri Slaby <jslaby@suse.cz>
|
||
|
Subject: fix build on s390 as of 2.6.36-rc4
|
||
|
Patch-mainline: never
|
||
|
|
||
|
This fixes patches.arch/s390-message-catalog.diff build.
|
||
|
|
||
|
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
|
||
|
|
||
|
---
|
||
|
include/linux/device.h | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
--- a/include/linux/device.h
|
||
|
+++ b/include/linux/device.h
|
||
|
@@ -660,6 +660,8 @@ int printk_dev_hash(const char *, const
|
||
|
|
||
|
#endif
|
||
|
|
||
|
+#define dev_printk(level, dev, format, arg...) \
|
||
|
+ dev_printk_hash(level , dev, format, ## arg)
|
||
|
#define dev_emerg(dev, format, arg...) \
|
||
|
dev_printk_hash(KERN_EMERG , dev , format , ## arg)
|
||
|
#define dev_alert(dev, format, arg...) \
|