[alsa-devel] [PATCH] fix jazz16 compile (udelay)

Meelis Roos mroos at linux.ee
Thu Mar 4 19:33:07 CET 2010


While trying to compile jazz16 isa sound driver on alpha (2.6.33+git), I 
found a compile failure in jazz16.c (udelay is unknown). Fix it by 
including delay.h.

Signed-foo-by: Meelis Roos <mroos at linux.ee>

diff --git a/sound/isa/sb/jazz16.c b/sound/isa/sb/jazz16.c
index 8d21a3f..8ccbcdd 100644
--- a/sound/isa/sb/jazz16.c
+++ b/sound/isa/sb/jazz16.c
@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <linux/io.h>
+#include <linux/delay.h>
 #include <asm/dma.h>
 #include <linux/isa.h>
 #include <sound/core.h>


-- 
Meelis Roos (mroos at linux.ee)


More information about the Alsa-devel mailing list