latest git compile error in sound/drivers/opl3/opl3_synth.c

From: Li Zefan
Date: Sun Feb 03 2008 - 00:31:32 EST



sound/drivers/opl3/opl3_synth.c: In function 'snd_opl3_find_patch':
sound/drivers/opl3/opl3_synth.c:308: error: 'OPL3_PATCH_HASH_SIZE' undeclared (first use in this function)
sound/drivers/opl3/opl3_synth.c:308: error: (Each undeclared identifier is reported only once
sound/drivers/opl3/opl3_synth.c:308: error: for each function it appears in.)
sound/drivers/opl3/opl3_synth.c:311: error: 'struct snd_opl3' has no member named 'patch_table'
sound/drivers/opl3/opl3_synth.c:323: error: 'struct snd_opl3' has no member named 'patch_table'
sound/drivers/opl3/opl3_synth.c:324: error: 'struct snd_opl3' has no member named 'patch_table'
sound/drivers/opl3/opl3_synth.c: In function 'snd_opl3_clear_patches':
sound/drivers/opl3/opl3_synth.c:335: error: 'OPL3_PATCH_HASH_SIZE' undeclared (first use in this function)
sound/drivers/opl3/opl3_synth.c:337: error: 'struct snd_opl3' has no member named 'patch_table'
sound/drivers/opl3/opl3_synth.c:342: error: 'struct snd_opl3' has no member named 'patch_table'
sound/drivers/opl3/opl3_synth.c:342: error: 'struct snd_opl3' has no member named 'patch_table'

seems it's caused by the following config options:
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OPL3_LIB=m

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/