[dahdi-commits] dahdi/linux.git branch "2.6.y" updated.

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Mon Mar 4 11:09:00 CST 2013


branch "2.6.y" has been updated
       via  fcaec330e54d0c870308a06533d810abb16f4d08 (commit)
      from  41639330a59ea683cca0f6215a207a59a93f95bd (commit)

Summary of changes:
 include/dahdi/kernel.h |    8 ++++++++
 1 file changed, 8 insertions(+)


- Log -----------------------------------------------------------------
commit fcaec330e54d0c870308a06533d810abb16f4d08
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Mon Jan 28 15:57:34 2013 +0200

    Redefine the removed __dev* for now
    
    The __dev* directives and functions were removed in 3.8, as they
    are no-ops. We still have use of them for older versions, thus
    we should define them (as noops) if they don't exist.
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 1178a13..e99a4a5 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -120,6 +120,14 @@
 #  endif
 #endif
 
+/* __dev* were removed in 3.8. They still have effect in 2.6.18. */
+#ifndef __devinit
+#  define __devinit
+#  define __devinitdata
+#  define __devexit
+#  define __devexit_p(x) x
+#endif
+
 /*! Default chunk size for conferences and such -- static right now, might make
    variable sometime.  8 samples = 1 ms = most frequent service interval possible
    for a USB device */

-----------------------------------------------------------------------


-- 
dahdi/linux.git



More information about the dahdi-commits mailing list