]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Fix sx1 build failure
authorKomal Shah <komal_shah802003@yahoo.com>
Mon, 11 Dec 2006 22:04:17 +0000 (14:04 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 11 Dec 2006 22:04:17 +0000 (14:04 -0800)
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 <komal_shah802003@yahoo.com>
Signed-off-by: Vladimir Ananiev <vovan888@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/linux/connector.h

index 4c02119c6ab9d6ef16158ad6f9a35f54f4493e4e..ba49a0142b784c7c4a6646aa23eec7161b9282fa 100644 (file)
 #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.