forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/sound/soc/intel/atom/sst-mfld-platform.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * sst_mfld_platform.h - Intel MID Platform driver header file
34 *
....@@ -5,15 +6,6 @@
56 * Author: Vinod Koul <vinod.koul@intel.com>
67 * Author: Harsha Priya <priya.harsha@intel.com>
78 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; version 2 of the License.
12
- *
13
- * This program is distributed in the hope that it will be useful, but
14
- * WITHOUT ANY WARRANTY; without even the implied warranty of
15
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
- * General Public License for more details.
179 *
1810 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1911 */
....@@ -25,7 +17,7 @@
2517 #include "sst-atom-controls.h"
2618
2719 extern struct sst_device *sst;
28
-extern const struct snd_compr_ops sst_platform_compr_ops;
20
+extern const struct snd_compress_ops sst_platform_compress_ops;
2921
3022 #define DRV_NAME "sst"
3123
....@@ -181,6 +173,6 @@
181173 struct snd_soc_card *soc_card;
182174 struct sst_cmd_sba_hw_set_ssp ssp_cmd;
183175 };
184
-int sst_register_dsp(struct sst_device *sst);
185
-int sst_unregister_dsp(struct sst_device *sst);
176
+int sst_register_dsp(struct sst_device *dev);
177
+int sst_unregister_dsp(struct sst_device *dev);
186178 #endif