[dahdi-commits] sruffell: branch linux/2.4 r10530 - in /linux/branches/2.4: drivers/dahdi/voi...

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Fri Mar 16 12:07:55 CDT 2012


Author: sruffell
Date: Fri Mar 16 12:07:51 2012
New Revision: 10530

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10530
Log:
dahdi: #include <linux/module.h> in dahdi/kernel.h and GpakCust.h

Commit de47725, first released in 3.2-rc1 removed module.h from some
kernel headers. Include it explicitly now.

Resolves compilation errors like:
error: implicit declaration of function 'try_module_get'
error: 'THIS_MODULE' undeclared (first use in this function)
error: implicit declaration of function 'module_put'

Signed-off-by: Shaun Ruffell <sruffell at digium.com>

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10361

Conflicts:

	include/dahdi/kernel.h

Modified:
    linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.h
    linux/branches/2.4/include/dahdi/kernel.h

Modified: linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.h
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.h?view=diff&rev=10530&r1=10529&r2=10530
==============================================================================
--- linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.h (original)
+++ linux/branches/2.4/drivers/dahdi/voicebus/GpakCust.h Fri Mar 16 12:07:51 2012
@@ -36,6 +36,7 @@
 #ifndef _GPAKCUST_H  /* prevent multiple inclusion */
 #define _GPAKCUST_H
 
+#include <linux/module.h>
 #include <linux/device.h>
 #include <linux/completion.h>
 #include <linux/workqueue.h>

Modified: linux/branches/2.4/include/dahdi/kernel.h
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.4/include/dahdi/kernel.h?view=diff&rev=10530&r1=10529&r2=10530
==============================================================================
--- linux/branches/2.4/include/dahdi/kernel.h (original)
+++ linux/branches/2.4/include/dahdi/kernel.h Fri Mar 16 12:07:51 2012
@@ -43,6 +43,7 @@
 #endif
 #include <linux/fs.h>
 #include <linux/kobject.h>
+#include <linux/module.h>
 #include <linux/ioctl.h>
 
 #ifdef CONFIG_DAHDI_NET	




More information about the dahdi-commits mailing list