Skip to contentSkip to conversation

drivers/media/video/ir-kbd-gpio.c compile error

DISCUSSION Andrew Morton 2 participants 2 messages May 24, 2004 – May 25, 2004

lore
Share & tools
lore
#0 lore raw

ir_codes_avermedia[] is trying to initialise the 24'th element to two different values:

static IR_KEYTAB_TYPE ir_codes_avermedia[IR_KEYTAB_SIZE] = {

	...
	[ 24 ] = KEY_EJECTCD,     // Unmarked on my controller
	...
	[ 24 ] = KEY_RED,         // unmarked

Does anyone know which one is correct?

#1 lore raw
Quoted 2 lines

static IR_KEYTAB_TYPE ir_codes_avermedia[IR_KEYTAB_SIZE] = {
[ 24 ] = KEY_RED, // unmarked

This one should be 23.

Gerd

Signature · 1 line
Smoking Crack Organization