summaryrefslogtreecommitdiff
path: root/include/dahdi/kernel.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-12-02 20:06:03 +0000
committerShaun Ruffell <sruffell@digium.com>2011-12-02 20:06:03 +0000
commit3a2e11ee1bf0662d018f58834db3b8e0b999bb1e (patch)
tree149f5ea122ffef4012b3ee52759259e69b985d40 /include/dahdi/kernel.h
parented1b2f6de9cc47c4b5752f90f1f10137ad7adbaa (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> Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10361 Conflicts: include/dahdi/kernel.h git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.5@10363 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include/dahdi/kernel.h')
-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 7a2cfe9..1954db8 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -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