summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2012-04-05 16:15:22 +0000
committerShaun Ruffell <sruffell@digium.com>2012-04-05 16:15:22 +0000
commitff5ee907bcd1cc07eded4dff3cc211880cb7baad (patch)
tree732a3b6801e2e23165ce8c6f6954a9ae8401caf2
parent9f509efa770691a65f3934e37e24a07af1b2a4df (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> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10640 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 ab7562b..5358f3d 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>