summaryrefslogtreecommitdiffstats
path: root/sound/pci/aw2/aw2-saa7146.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/aw2/aw2-saa7146.h')
-rw-r--r--sound/pci/aw2/aw2-saa7146.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/aw2/aw2-saa7146.h b/sound/pci/aw2/aw2-saa7146.h
index b5c5a71c0a..3a3de56b9b 100644
--- a/sound/pci/aw2/aw2-saa7146.h
+++ b/sound/pci/aw2/aw2-saa7146.h
@@ -19,11 +19,12 @@
#define NUM_STREAM_CAPTURE_ANA 0
-typedef void (*snd_aw2_saa7146_it_cb) (void *);
+struct snd_pcm_substream;
+typedef void (*snd_aw2_saa7146_it_cb) (struct snd_pcm_substream *);
struct snd_aw2_saa7146_cb_param {
snd_aw2_saa7146_it_cb p_it_callback;
- void *p_callback_param;
+ struct snd_pcm_substream *p_callback_param;
};
/* definition of the chip-specific record */