slackbuilds_ponce/system/lirc/patches/lirc-0.9.0-kernel-3.5-err-fix.patch
Matteo Bernardini 216951f8c8 system/lirc: Added more patches for recent kernels.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2013-11-16 13:58:39 -06:00

12 lines
326 B
Diff

--- a/drivers/kcompat.h 2011-03-25 18:28:18.000000000 -0400
+++ b/drivers/kcompat.h 2012-11-27 13:37:55.000000000 -0500
@@ -136,4 +136,9 @@
)
#endif
+#ifndef err
+#define err(format, arg...) \
+ printk(KERN_ERR KBUILD_MODNAME ": " format "\n", ##arg)
+#endif
+
#endif /* _KCOMPAT_H */