[Armadeus-commitlog] SF.net SVN: armadeus:[1243] trunk/target/linux/modules/isp1761/hal/isp1761. h
Brought to you by:
sszy
|
From: <ar...@us...> - 2009-04-30 12:58:28
|
Revision: 1243
http://armadeus.svn.sourceforge.net/armadeus/?rev=1243&view=rev
Author: artemys
Date: 2009-04-30 12:58:22 +0000 (Thu, 30 Apr 2009)
Log Message:
-----------
[LINUX] Makes ISP1761 driver compiles on 2.6.29
Modified Paths:
--------------
trunk/target/linux/modules/isp1761/hal/isp1761.h
Modified: trunk/target/linux/modules/isp1761/hal/isp1761.h
===================================================================
--- trunk/target/linux/modules/isp1761/hal/isp1761.h 2009-04-30 12:56:20 UTC (rev 1242)
+++ trunk/target/linux/modules/isp1761/hal/isp1761.h 2009-04-30 12:58:22 UTC (rev 1243)
@@ -224,3 +224,10 @@
#undef DEBUG
#endif
/*******************END FOR ALL CONTROLLERS*******************************/
+
+#include <linux/version.h>
+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28)
+#define info(format, arg...) printk(KERN_INFO KBUILD_MODNAME ": " format "\n" , ## arg)
+#define warn(format, arg...) printk(KERN_WARNING KBUILD_MODNAME ": " format "\n" , ## arg)
+#endif
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|