[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1242219648-16165-1-git-send-email-a.beregalov@gmail.com>
Date: Wed, 13 May 2009 17:00:47 +0400
From: Alexander Beregalov <a.beregalov@...il.com>
To: gregkh@...e.de
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Alexander Beregalov <a.beregalov@...il.com>
Subject: [PATCH 1/2] 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@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists