linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Staging: comedi: comedi_test.c should include timer.h
@ 2009-05-13 13:00 Alexander Beregalov
  2009-05-13 13:00 ` [PATCH 2/2] Staging: comedi: data.c should include delay.h Alexander Beregalov
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Beregalov @ 2009-05-13 13:00 UTC (permalink / raw)
  To: gregkh; +Cc: linux-next, linux-kernel, Alexander Beregalov

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>
---
 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 93ed1a0..9b8cf62 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 {
-- 
1.6.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-21 13:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-13 13:00 [PATCH 1/2] Staging: comedi: comedi_test.c should include timer.h Alexander Beregalov
2009-05-13 13:00 ` [PATCH 2/2] Staging: comedi: data.c should include delay.h Alexander Beregalov
2009-05-13 13:23   ` Alexander Beregalov
2009-05-21 13:08     ` Alexander Beregalov
2009-05-21 13:55       ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).