[svn-commits] sruffell: branch linux/2.5 r10363 - in /linux/branches/2.5: drivers/dahdi/voi...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Dec 2 14:06:06 CST 2011


Author: sruffell
Date: Fri Dec  2 14:06:03 2011
New Revision: 10363

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10363
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.5/drivers/dahdi/voicebus/GpakCust.h
    linux/branches/2.5/include/dahdi/kernel.h

Modified: linux/branches/2.5/drivers/dahdi/voicebus/GpakCust.h
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.5/drivers/dahdi/voicebus/GpakCust.h?view=diff&rev=10363&r1=10362&r2=10363
==============================================================================
--- linux/branches/2.5/drivers/dahdi/voicebus/GpakCust.h (original)
+++ linux/branches/2.5/drivers/dahdi/voicebus/GpakCust.h Fri Dec  2 14:06:03 2011
@@ -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.5/include/dahdi/kernel.h
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.5/include/dahdi/kernel.h?view=diff&rev=10363&r1=10362&r2=10363
==============================================================================
--- linux/branches/2.5/include/dahdi/kernel.h (original)
+++ linux/branches/2.5/include/dahdi/kernel.h Fri Dec  2 14:06:03 2011
@@ -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 svn-commits mailing list