.. | .. |
---|
20 | 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
---|
21 | 21 | */ |
---|
22 | 22 | |
---|
| 23 | +#ifdef __linux__ |
---|
23 | 24 | #include <linux/types.h> |
---|
| 25 | +#endif |
---|
24 | 26 | |
---|
25 | 27 | #define HDSP_MATRIX_MIXER_SIZE 2048 |
---|
26 | 28 | |
---|
.. | .. |
---|
74 | 76 | #define SNDRV_HDSP_IOCTL_GET_CONFIG_INFO _IOR('H', 0x41, struct hdsp_config_info) |
---|
75 | 77 | |
---|
76 | 78 | struct hdsp_firmware { |
---|
77 | | - void __user *firmware_data; /* 24413 x 4 bytes */ |
---|
| 79 | + void *firmware_data; /* 24413 x 4 bytes */ |
---|
78 | 80 | }; |
---|
79 | 81 | |
---|
80 | 82 | #define SNDRV_HDSP_IOCTL_UPLOAD_FIRMWARE _IOW('H', 0x42, struct hdsp_firmware) |
---|
.. | .. |
---|
98 | 100 | }; |
---|
99 | 101 | |
---|
100 | 102 | #define SNDRV_HDSP_IOCTL_GET_9632_AEB _IOR('H', 0x45, struct hdsp_9632_aeb) |
---|
101 | | - |
---|
102 | | -/* typedefs for compatibility to user-space */ |
---|
103 | | -typedef enum HDSP_IO_Type HDSP_IO_Type; |
---|
104 | | -typedef struct hdsp_peak_rms hdsp_peak_rms_t; |
---|
105 | | -typedef struct hdsp_config_info hdsp_config_info_t; |
---|
106 | | -typedef struct hdsp_firmware hdsp_firmware_t; |
---|
107 | | -typedef struct hdsp_version hdsp_version_t; |
---|
108 | | -typedef struct hdsp_mixer hdsp_mixer_t; |
---|
109 | | -typedef struct hdsp_9632_aeb hdsp_9632_aeb_t; |
---|
110 | 103 | |
---|
111 | 104 | #endif /* __SOUND_HDSP_H */ |
---|