[alsa-devel] [2.6 patch] sound/pci/azt3328.h: no variables for enums

Adrian Bunk bunk at kernel.org
Tue Jul 22 19:21:28 CEST 2008


AZF_FREQUENCIES and AZF_GAME_CONFIGS were variables, and this doesn't 
seem to have been intended.

Signed-off-by: Adrian Bunk <bunk at kernel.org>

---
d73b516dc7770a7141b6015b24c806fc697f066d 
diff --git a/sound/pci/azt3328.h b/sound/pci/azt3328.h
index 7e3e894..974e051 100644
--- a/sound/pci/azt3328.h
+++ b/sound/pci/azt3328.h
@@ -94,7 +94,7 @@ enum azf_freq_t {
   AZF_FREQ(48000),
   AZF_FREQ(66200),
 #undef AZF_FREQ
-} AZF_FREQUENCIES;
+};
 
 /** recording area (see also: playback bit flag definitions) **/
 #define IDX_IO_REC_FLAGS	0x20 /* ??, PU:0x0000 */
@@ -210,7 +210,7 @@ enum azf_freq_t {
 
 enum {
 	AZF_GAME_LEGACY_IO_PORT = 0x200
-} AZF_GAME_CONFIGS;
+};
 
 #define IDX_GAME_LEGACY_COMPATIBLE	0x00
 	/* in some operation mode, writing anything to this port



More information about the Alsa-devel mailing list