diff options
Diffstat (limited to 'include/sound/compress_driver.h')
-rw-r--r-- | include/sound/compress_driver.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sound/compress_driver.h b/include/sound/compress_driver.h index 396e8f73670a..f48089d364c5 100644 --- a/include/sound/compress_driver.h +++ b/include/sound/compress_driver.h | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
29 | #include <linux/sched.h> | 29 | #include <linux/sched.h> |
30 | #include <sound/core.h> | ||
30 | #include <sound/compress_offload.h> | 31 | #include <sound/compress_offload.h> |
31 | #include <sound/asound.h> | 32 | #include <sound/asound.h> |
32 | #include <sound/pcm.h> | 33 | #include <sound/pcm.h> |
@@ -134,7 +135,7 @@ struct snd_compr_ops { | |||
134 | /** | 135 | /** |
135 | * struct snd_compr: Compressed device | 136 | * struct snd_compr: Compressed device |
136 | * @name: DSP device name | 137 | * @name: DSP device name |
137 | * @dev: Device pointer | 138 | * @dev: associated device instance |
138 | * @ops: pointer to DSP callbacks | 139 | * @ops: pointer to DSP callbacks |
139 | * @private_data: pointer to DSP pvt data | 140 | * @private_data: pointer to DSP pvt data |
140 | * @card: sound card pointer | 141 | * @card: sound card pointer |
@@ -144,7 +145,7 @@ struct snd_compr_ops { | |||
144 | */ | 145 | */ |
145 | struct snd_compr { | 146 | struct snd_compr { |
146 | const char *name; | 147 | const char *name; |
147 | struct device *dev; | 148 | struct device dev; |
148 | struct snd_compr_ops *ops; | 149 | struct snd_compr_ops *ops; |
149 | void *private_data; | 150 | void *private_data; |
150 | struct snd_card *card; | 151 | struct snd_card *card; |