Re: 2.6.25-rc5-mm1 build failure of pcsp.c

From: Mariusz Kozlowski
Date: Sun Mar 16 2008 - 17:39:22 EST


Hello,

The build on my laptop (32bit x86) fails.

sound/drivers/pcsp/pcsp.c: In function 'snd_pcsp_create':
sound/drivers/pcsp/pcsp.c:54: error: 'loops_per_jiffy' undeclared (first use in this function)
sound/drivers/pcsp/pcsp.c:54: error: (Each undeclared identifier is reported only once
sound/drivers/pcsp/pcsp.c:54: error: for each function it appears in.)

Seems like the patch below is needed.

Mariusz

Signed-off-by: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>

--- linux-2.6.25-rc5-mm1-a/sound/drivers/pcsp/pcsp.c 2008-03-16 21:34:28.000000000 +0100
+++ linux-2.6.25-rc5-mm1-b/sound/drivers/pcsp/pcsp.c 2008-03-16 21:58:58.000000000 +0100
@@ -12,6 +12,7 @@
#include <sound/initval.h>
#include <sound/pcm.h>
#include <linux/input.h>
+#include <linux/delay.h>
#include <asm/bitops.h>
#include "pcsp_input.h"
#include "pcsp.h"
--
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/