Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alexander Beregalov and committed by
Greg Kroah-Hartman
de4545cd dc7423c8

+1
+1
drivers/staging/comedi/drivers/comedi_test.c
··· 55 55 #include <asm/div64.h> 56 56 57 57 #include "comedi_fc.h" 58 + #include <linux/timer.h> 58 59 59 60 /* Board descriptions */ 60 61 struct waveform_board {