diff options
author | Alexander Beregalov <a.beregalov@gmail.com> | 2009-05-13 17:00:47 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:34 -0700 |
commit | de4545cdfd9f3521b3402c0228b8d4ecdd97f7ec (patch) | |
tree | bb8847b5cf46d273eb41da7fb46c63593fdf99ab /drivers | |
parent | dc7423c885dc1396710e18770b3c4ab3bdb71805 (diff) |
Staging: comedi: comedi_test.c should include timer.h
Fix this build error:
.../comedi_test.c:82: error: field timer has incomplete type
.../comedi_test.c: In function waveform_ai_interrupt:
.../comedi_test.c:188: error: implicit declaration of function mod_timer
.../comedi_test.c:188: error: jiffies undeclared (first use in this function)
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/comedi_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/comedi/drivers/comedi_test.c b/drivers/staging/comedi/drivers/comedi_test.c index 93ed1a0ae12..9b8cf62973b 100644 --- a/drivers/staging/comedi/drivers/comedi_test.c +++ b/drivers/staging/comedi/drivers/comedi_test.c @@ -55,6 +55,7 @@ zero volts). #include <asm/div64.h> #include "comedi_fc.h" +#include <linux/timer.h> /* Board descriptions */ struct waveform_board { |