* [PATCH] ARM: OMAP: Fix sx1 build failure
@ 2006-12-04 18:16 Komal Shah
2006-12-11 22:04 ` tony
0 siblings, 1 reply; 2+ messages in thread
From: Komal Shah @ 2006-12-04 18:16 UTC (permalink / raw)
To: linux-omap-open-source; +Cc: vovan888
[-- Attachment #1: Type: text/plain, Size: 78 bytes --]
Patch from Vladimir Ananiev.
--
---Komal Shah
http://komalshah.blogspot.com
[-- Attachment #2: 0001-ARM-OMAP-Fix-sx1-build-failure.txt --]
[-- Type: text/plain, Size: 1481 bytes --]
From 7734bbdac6cf4f2e670de5caa368f58f258978b4 Mon Sep 17 00:00:00 2001
From: Komal Shah <komal_shah802003@yahoo.com>
Date: Mon, 4 Dec 2006 23:39:21 +0530
Subject: [PATCH] ARM: OMAP: Fix sx1 build failure
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')
Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Vladimir Ananiev <vovan888@gmail.com>
---
include/linux/connector.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/include/linux/connector.h b/include/linux/connector.h
index 4c02119..ba49a01 100644
--- a/include/linux/connector.h
+++ b/include/linux/connector.h
@@ -36,9 +36,13 @@
#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.
--
1.4.3.4.g82cc
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: OMAP: Fix sx1 build failure
2006-12-04 18:16 [PATCH] ARM: OMAP: Fix sx1 build failure Komal Shah
@ 2006-12-11 22:04 ` tony
0 siblings, 0 replies; 2+ messages in thread
From: tony @ 2006-12-11 22:04 UTC (permalink / raw)
To: Komal Shah; +Cc: linux-omap-open-source, vovan888
* Komal Shah <komal.shah802003@gmail.com> [061204 10:18]:
> Patch from Vladimir Ananiev.
>
> --
> ---Komal Shah
> http://komalshah.blogspot.com
> From 7734bbdac6cf4f2e670de5caa368f58f258978b4 Mon Sep 17 00:00:00 2001
> From: Komal Shah <komal_shah802003@yahoo.com>
> Date: Mon, 4 Dec 2006 23:39:21 +0530
> Subject: [PATCH] ARM: OMAP: Fix sx1 build failure
>
> 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')
>
> Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
> Signed-off-by: Vladimir Ananiev <vovan888@gmail.com>
> ---
> include/linux/connector.h | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/connector.h b/include/linux/connector.h
> index 4c02119..ba49a01 100644
> --- a/include/linux/connector.h
> +++ b/include/linux/connector.h
> @@ -36,9 +36,13 @@
> #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.
Pushing this. This should be sent to the appropriate list or LKML for
integration BTW.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-11 22:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-04 18:16 [PATCH] ARM: OMAP: Fix sx1 build failure Komal Shah
2006-12-11 22:04 ` tony
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox