diff options
| author | Takashi Iwai <tiwai@suse.de> | 2015-02-23 03:14:03 -0500 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2015-02-23 03:14:03 -0500 |
| commit | 88cacc57e879d29d626a66852fd982739dc7e6de (patch) | |
| tree | b937525edcb487e0f4bd845eddc78ea428745278 /include/uapi | |
| parent | 6176fadce29cf050806dc32538dc6ca3e32860b9 (diff) | |
| parent | b9956409c281931c74ba8d0a2b61a98076a58602 (diff) | |
Merge branch 'topic/uapi-fix' into for-next
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/sound/asequencer.h | 1 | ||||
| -rw-r--r-- | include/uapi/sound/asound.h | 3 | ||||
| -rw-r--r-- | include/uapi/sound/emu10k1.h | 3 | ||||
| -rw-r--r-- | include/uapi/sound/hdspm.h | 6 |
4 files changed, 11 insertions, 2 deletions
diff --git a/include/uapi/sound/asequencer.h b/include/uapi/sound/asequencer.h index 09c8a00ea503..5a5fa4956ebd 100644 --- a/include/uapi/sound/asequencer.h +++ b/include/uapi/sound/asequencer.h | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | #ifndef _UAPI__SOUND_ASEQUENCER_H | 22 | #ifndef _UAPI__SOUND_ASEQUENCER_H |
| 23 | #define _UAPI__SOUND_ASEQUENCER_H | 23 | #define _UAPI__SOUND_ASEQUENCER_H |
| 24 | 24 | ||
| 25 | #include <sound/asound.h> | ||
| 25 | 26 | ||
| 26 | /** version of the sequencer */ | 27 | /** version of the sequencer */ |
| 27 | #define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 1) | 28 | #define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 1) |
diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index 0e88e7a0f0eb..fd5c0b55ca3b 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h | |||
| @@ -25,6 +25,9 @@ | |||
| 25 | 25 | ||
| 26 | #include <linux/types.h> | 26 | #include <linux/types.h> |
| 27 | 27 | ||
| 28 | #ifndef __KERNEL__ | ||
| 29 | #include <stdlib.h> | ||
| 30 | #endif | ||
| 28 | 31 | ||
| 29 | /* | 32 | /* |
| 30 | * protocol version | 33 | * protocol version |
diff --git a/include/uapi/sound/emu10k1.h b/include/uapi/sound/emu10k1.h index d1bbaf78457a..ec1535bb6aed 100644 --- a/include/uapi/sound/emu10k1.h +++ b/include/uapi/sound/emu10k1.h | |||
| @@ -23,8 +23,7 @@ | |||
| 23 | #define _UAPI__SOUND_EMU10K1_H | 23 | #define _UAPI__SOUND_EMU10K1_H |
| 24 | 24 | ||
| 25 | #include <linux/types.h> | 25 | #include <linux/types.h> |
| 26 | 26 | #include <sound/asound.h> | |
| 27 | |||
| 28 | 27 | ||
| 29 | /* | 28 | /* |
| 30 | * ---- FX8010 ---- | 29 | * ---- FX8010 ---- |
diff --git a/include/uapi/sound/hdspm.h b/include/uapi/sound/hdspm.h index b357f1a5e29c..5737332d38f2 100644 --- a/include/uapi/sound/hdspm.h +++ b/include/uapi/sound/hdspm.h | |||
| @@ -20,6 +20,12 @@ | |||
| 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 21 | */ | 21 | */ |
| 22 | 22 | ||
| 23 | #ifdef __KERNEL__ | ||
| 24 | #include <linux/types.h> | ||
| 25 | #else | ||
| 26 | #include <stdint.h> | ||
| 27 | #endif | ||
| 28 | |||
| 23 | /* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */ | 29 | /* Maximum channels is 64 even on 56Mode you have 64playbacks to matrix */ |
| 24 | #define HDSPM_MAX_CHANNELS 64 | 30 | #define HDSPM_MAX_CHANNELS 64 |
| 25 | 31 | ||
