[PATCH next] staging: altera-stapl: include delay.h

From: Alexander Beregalov
Date: Mon Mar 07 2011 - 01:15:43 EST


Fix build error: altera-jtag.c:398:3: error: implicit declaration of
function 'udelay'

Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>
---
drivers/staging/altera-stapl/altera-jtag.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/staging/altera-stapl/altera-jtag.c b/drivers/staging/altera-stapl/altera-jtag.c
index 6b633b1..b554f4d 100644
--- a/drivers/staging/altera-stapl/altera-jtag.c
+++ b/drivers/staging/altera-stapl/altera-jtag.c
@@ -25,6 +25,7 @@

#include <linux/firmware.h>
#include <linux/slab.h>
+#include <linux/delay.h>
#include <staging/altera.h>
#include "altera-exprt.h"
#include "altera-jtag.h"
--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/