hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/uapi/sound/hdspm.h
....@@ -21,7 +21,9 @@
2121 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
2222 */
2323
24
+#ifdef __linux__
2425 #include <linux/types.h>
26
+#endif
2527
2628 /* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */
2729 #define HDSPM_MAX_CHANNELS 64
....@@ -220,13 +222,5 @@
220222
221223 /* use indirect access due to the limit of ioctl bit size */
222224 #define SNDRV_HDSPM_IOCTL_GET_MIXER _IOR('H', 0x44, struct hdspm_mixer_ioctl)
223
-
224
-/* typedefs for compatibility to user-space */
225
-typedef struct hdspm_peak_rms hdspm_peak_rms_t;
226
-typedef struct hdspm_config_info hdspm_config_info_t;
227
-typedef struct hdspm_version hdspm_version_t;
228
-typedef struct hdspm_channelfader snd_hdspm_channelfader_t;
229
-typedef struct hdspm_mixer hdspm_mixer_t;
230
-
231225
232226 #endif