* sx1 alsa build failure
@ 2006-12-03 18:13 Komal Shah
2006-12-03 18:20 ` Vovan
0 siblings, 1 reply; 2+ messages in thread
From: Komal Shah @ 2006-12-03 18:13 UTC (permalink / raw)
To: linux-omap-open-source, vovan888
Hi Vladimir Ananiev,
Could you please send a patch to fix this build error.?
sound/arm/omap/omap-alsa-sx1.c:32: error: `CN_IDX_SX1SND' undeclared
here (not in a function)
sound/arm/omap/omap-alsa-sx1.c:32: error: initializer element is not constant
sound/arm/omap/omap-alsa-sx1.c:32: error: (near initialization for
`cn_sx1snd_id.idx')
sound/arm/omap/omap-alsa-sx1.c:32: error: `CN_VAL_SX1SND' undeclared
here (not in a function)
sound/arm/omap/omap-alsa-sx1.c:32: error: initializer element is not constant
sound/arm/omap/omap-alsa-sx1.c:32: error: (near initialization for
`cn_sx1snd_id.val')
--
---Komal Shah
http://komalshah.blogspot.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sx1 alsa build failure
2006-12-03 18:13 sx1 alsa build failure Komal Shah
@ 2006-12-03 18:20 ` Vovan
0 siblings, 0 replies; 2+ messages in thread
From: Vovan @ 2006-12-03 18:20 UTC (permalink / raw)
To: Komal Shah, linux-omap-open-source
03.12.06 в 21:13 Komal Shah в своём письме писал(а):
> Hi Vladimir Ananiev,
>
> Could you please send a patch to fix this build error.?
>
> sound/arm/omap/omap-alsa-sx1.c:32: error: `CN_IDX_SX1SND' undeclared
> here (not in a function)
> sound/arm/omap/omap-alsa-sx1.c:32: error: initializer element is not
> constant
> sound/arm/omap/omap-alsa-sx1.c:32: error: (near initialization for
> `cn_sx1snd_id.idx')
> sound/arm/omap/omap-alsa-sx1.c:32: error: `CN_VAL_SX1SND' undeclared
> here (not in a function)
> sound/arm/omap/omap-alsa-sx1.c:32: error: initializer element is not
> constant
> sound/arm/omap/omap-alsa-sx1.c:32: error: (near initialization for
> `cn_sx1snd_id.val')
>
>
Sure, here it is:
diff --git a/include/linux/connector.h b/include/linux/connector.h
index 4c02119..0e2cbf1 100644
--- a/include/linux/connector.h
+++ b/include/linux/connector.h
@@ -36,9 +36,13 @@ #define CN_IDX_CIFS 0x2
#define CN_VAL_CIFS 0x1
#define CN_W1_IDX 0x3 /* w1 communication */
#define CN_W1_VAL 0x1
+#define CN_IDX_SX1SND 0x4
+#define CN_VAL_SX1SND 0x1
+#define CN_IDX_SX1PM 0x5
+#define CN_VAL_SX1PM 0x1
-#define CN_NETLINK_USERS 4
+#define CN_NETLINK_USERS 6
/*
* Maximum connector's message size.
--
Vladimir Ananiev
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-03 18:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-03 18:13 sx1 alsa build failure Komal Shah
2006-12-03 18:20 ` Vovan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox