summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2012-04-05 16:22:37 +0000
committerShaun Ruffell <sruffell@digium.com>2012-04-05 16:22:37 +0000
commit5f9407e978f58e4232bb939e0f7ff9b10f6cb335 (patch)
treeafce41de6ae0dd76cd304ba6b8849ba19cb9c02f
parent5d65182cdde33f8657f691d28dbc6e0e199b1c96 (diff)
dahdi_dummy: Include timer.h instead of time.h
It appears that some kernel configurations do not include timer.h in any of the include files that are included by dahdi_dummy. The timer_structs are defined in timer.h and not time.h, so this change is correct even though I never could find a configuation myself that actually failed to compile. This has negligible impact since dahdi_dummy is not compiled by default. Internal-Issue-ID: DAHLIN-185 Reported-by: Steve Murphy Signed-off-by: Shaun Ruffell <sruffell@digium.com> Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10640 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.6@10644 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rw-r--r--drivers/dahdi/dahdi_dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi_dummy.c b/drivers/dahdi/dahdi_dummy.c
index 30bc573..7072caf 100644
--- a/drivers/dahdi/dahdi_dummy.c
+++ b/drivers/dahdi/dahdi_dummy.c
@@ -53,7 +53,7 @@
#if defined(USE_HIGHRESTIMER)
#include <linux/hrtimer.h>
#else
-#include <linux/time.h>
+#include <linux/timer.h>
#endif
#include <dahdi/kernel.h>