aboutsummaryrefslogtreecommitdiff
path: root/original/uapi/sound/hdspm.h
diff options
context:
space:
mode:
Diffstat (limited to 'original/uapi/sound/hdspm.h')
-rw-r--r--original/uapi/sound/hdspm.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/original/uapi/sound/hdspm.h b/original/uapi/sound/hdspm.h
index 14af3d0..a38f3f7 100644
--- a/original/uapi/sound/hdspm.h
+++ b/original/uapi/sound/hdspm.h
@@ -21,9 +21,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#ifdef __linux__
#include <linux/types.h>
-#endif
/* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */
#define HDSPM_MAX_CHANNELS 64
@@ -223,4 +221,12 @@ struct hdspm_mixer_ioctl {
/* use indirect access due to the limit of ioctl bit size */
#define SNDRV_HDSPM_IOCTL_GET_MIXER _IOR('H', 0x44, struct hdspm_mixer_ioctl)
+/* typedefs for compatibility to user-space */
+typedef struct hdspm_peak_rms hdspm_peak_rms_t;
+typedef struct hdspm_config_info hdspm_config_info_t;
+typedef struct hdspm_version hdspm_version_t;
+typedef struct hdspm_channelfader snd_hdspm_channelfader_t;
+typedef struct hdspm_mixer hdspm_mixer_t;
+
+
#endif