Skip to contentSkip to conversation

ARM: OMAP: Fix Siemens SX1 building failure

PATCH New Carlos Aguiar 1 participant 1 message Nov 29, 2007

lore
Share & tools
lore
#0 lore raw

cover ARM: OMAP: Fix Siemens SX1 building failure

Hi Tony,

During SX1 building, I got the following error:

...
CC sound/arm/omap/omap-alsa-sx1.o
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: 'CN_VAL_SX1SND' undeclared here (not in a function)
make[3]: *** [sound/arm/omap/omap-alsa-sx1.o] Error 1 make[2]: *** [sound/arm/omap] Error 2
make[1]: *** [sound/arm] Error 2
make: *** [sound] Error 2

Well, I'm proposing this patch that redefines CN_IDX_SX1SND and CN_VAL_SX1SND macros at include/linux/connector.h. It's based on Komal Shah' earlier patch [1].

In fact, I was searching on connector.h' file history at Linux-OMAP tree
[2] for the commit that removed such macros and I couldn't find it. Very strange!

BR,

Carlos.

[1]
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=f5403be5ff2ba15c709f479809a0101f64fe0f01
[2]
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=history;f=include/linux/connector.h;h=13fc4541bf235b14333920f35e7ac744c5085bc9;hb=HEAD

Signature · 7 lines
Carlos Eduardo Aguiar
Nokia Institute of Technology - INdT
Open Source Mobile Research Center - OSMRC - Manaus
Core Team
Phone: +55 92 2126-1079
Mobile: +55 92 8127-1797
E-mail: [email protected]