diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-12-02 19:56:11 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-12-02 19:56:11 +0000 |
commit | 2eda662e8d15f68c8829a4f0718cde04215cdcb8 (patch) | |
tree | 6e5789ba2a297ce96f25ddcb46bcdaa33bab41df /drivers/dahdi | |
parent | 6630d7bff2fa20f31d5b6b30c0e0159ad88fb995 (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 'drivers/dahdi')
-rw-r--r-- | drivers/dahdi/voicebus/GpakCust.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/voicebus/GpakCust.h b/drivers/dahdi/voicebus/GpakCust.h index 3110f42..fecb9e5 100644 --- a/drivers/dahdi/voicebus/GpakCust.h +++ b/drivers/dahdi/voicebus/GpakCust.h @@ -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> |