From f5403be5ff2ba15c709f479809a0101f64fe0f01 Mon Sep 17 00:00:00 2001 From: Komal Shah Date: Mon, 11 Dec 2006 14:04:17 -0800 Subject: [PATCH] ARM: OMAP: Fix sx1 build failure Patch from Vladimir Ananiev. 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 Signed-off-by: Vladimir Ananiev Signed-off-by: Tony Lindgren --- include/linux/connector.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/linux/connector.h b/include/linux/connector.h index 4c02119c6ab..ba49a0142b7 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. -- 2.41.1