[dahdi-commits] dahdi/linux.git branch "master" updated.
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Tue Jan 29 10:07:36 CST 2013
branch "master" has been updated
via 66a300f3387b0832a0c027b1e841630c5c4344e9 (commit)
from 8bf04348963b440b57e308fdec6cc57c64fcdd3f (commit)
Summary of changes:
include/dahdi/kernel.h | 8 ++++++++
1 file changed, 8 insertions(+)
- Log -----------------------------------------------------------------
commit 66a300f3387b0832a0c027b1e841630c5c4344e9
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 2220557..b3e6ce8 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -101,6 +101,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