diff -ru work/wis-go7007-linux-0.9.8/kernel/snd-go7007.c fixed/kernel/snd-go7007.c --- work/wis-go7007-linux-0.9.8/kernel/snd-go7007.c 2007-04-30 11:11:35.000000000 -0300 +++ fixed/kernel/snd-go7007.c 2007-04-30 11:09:14.000000000 -0300 @@ -57,6 +57,16 @@ MODULE_PARM_DESC(index, "ID string for the go7007 audio driver"); MODULE_PARM_DESC(index, "Enable for the go7007 audio driver"); +typedef struct snd_card snd_card_t; +typedef struct snd_pcm snd_pcm_t; +typedef struct snd_pcm_substream snd_pcm_substream_t; +typedef struct snd_pcm_hardware snd_pcm_hardware_t; +typedef struct snd_pcm_runtime snd_pcm_runtime_t; +typedef struct snd_pcm_hw_params snd_pcm_hw_params_t; +typedef struct snd_pcm_ops snd_pcm_ops_t; +typedef struct snd_device snd_device_t; +typedef struct snd_device_ops snd_device_ops_t; + struct go7007_snd { snd_card_t *card; snd_pcm_t *pcm;