summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-12-02 19:56:11 +0000
committerShaun Ruffell <sruffell@digium.com>2011-12-02 19:56:11 +0000
commit2eda662e8d15f68c8829a4f0718cde04215cdcb8 (patch)
tree6e5789ba2a297ce96f25ddcb46bcdaa33bab41df /include
parent6630d7bff2fa20f31d5b6b30c0e0159ad88fb995 (diff)
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@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10361 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index 1e580fd..461cdc7 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -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