[svn-commits] sruffell: linux/trunk r10361 - in /linux/trunk: drivers/dahdi/voicebus/ inclu...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Dec 2 13:56:15 CST 2011
Author: sruffell
Date: Fri Dec 2 13:56:11 2011
New Revision: 10361
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10361
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>
Modified:
linux/trunk/drivers/dahdi/voicebus/GpakCust.h
linux/trunk/include/dahdi/kernel.h
Modified: linux/trunk/drivers/dahdi/voicebus/GpakCust.h
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/voicebus/GpakCust.h?view=diff&rev=10361&r1=10360&r2=10361
==============================================================================
--- linux/trunk/drivers/dahdi/voicebus/GpakCust.h (original)
+++ linux/trunk/drivers/dahdi/voicebus/GpakCust.h Fri Dec 2 13:56:11 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/trunk/include/dahdi/kernel.h
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/include/dahdi/kernel.h?view=diff&rev=10361&r1=10360&r2=10361
==============================================================================
--- linux/trunk/include/dahdi/kernel.h (original)
+++ linux/trunk/include/dahdi/kernel.h Fri Dec 2 13:56:11 2011
@@ -43,6 +43,7 @@
#endif
#include <linux/fs.h>
#include <linux/device.h>
+#include <linux/module.h>
#include <linux/ioctl.h>
#ifdef CONFIG_DAHDI_NET
More information about the svn-commits
mailing list