[PATCH] ALSA: msleep needs delay.h

From: Stephen Rothwell
Date: Wed Mar 16 2011 - 02:35:53 EST


fixes this error:

sound/firewire/fcp.c: In function 'fcp_avc_transaction':
sound/firewire/fcp.c:103: error: implicit declaration of function 'msleep'

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
sound/firewire/fcp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/firewire/fcp.c b/sound/firewire/fcp.c
index c20bd9c..ec578b5 100644
--- a/sound/firewire/fcp.c
+++ b/sound/firewire/fcp.c
@@ -13,6 +13,7 @@
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/wait.h>
+#include <linux/delay.h>
#include "fcp.h"
#include "lib.h"

--
1.7.4.1


--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
--
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/