Commit f5403be5 authored by Komal Shah's avatar Komal Shah Committed by Tony Lindgren

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: default avatarKomal Shah <komal_shah802003@yahoo.com>
Signed-off-by: default avatarVladimir Ananiev <vovan888@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent bfea6da2
...@@ -36,9 +36,13 @@ ...@@ -36,9 +36,13 @@
#define CN_VAL_CIFS 0x1 #define CN_VAL_CIFS 0x1
#define CN_W1_IDX 0x3 /* w1 communication */ #define CN_W1_IDX 0x3 /* w1 communication */
#define CN_W1_VAL 0x1 #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. * Maximum connector's message size.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment