diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-01 09:58:10 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-01 09:58:10 -0500 |
commit | 75639e7ee1401b3876c7a00ffe96ea8027668690 (patch) | |
tree | 3d6813cd3fe0d974e0a40237d003a22c5f7438dd /include/sound | |
parent | 7584af10cf46e0f4aa1696f1be79fa0f19a945ba (diff) | |
parent | ad1cd745060ae2f24026b3b3d09da3426df6ab36 (diff) |
Merge branch 'topic/beep-rename' into topic/core-change
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/Kbuild | 1 | ||||
-rw-r--r-- | include/sound/sh_dac_audio.h | 21 | ||||
-rw-r--r-- | include/sound/sscape_ioctl.h | 21 |
3 files changed, 21 insertions, 22 deletions
diff --git a/include/sound/Kbuild b/include/sound/Kbuild index fd054a344324..e9dd9369ecb9 100644 --- a/include/sound/Kbuild +++ b/include/sound/Kbuild | |||
@@ -2,7 +2,6 @@ header-y += asound_fm.h | |||
2 | header-y += hdsp.h | 2 | header-y += hdsp.h |
3 | header-y += hdspm.h | 3 | header-y += hdspm.h |
4 | header-y += sfnt_info.h | 4 | header-y += sfnt_info.h |
5 | header-y += sscape_ioctl.h | ||
6 | 5 | ||
7 | unifdef-y += asequencer.h | 6 | unifdef-y += asequencer.h |
8 | unifdef-y += asound.h | 7 | unifdef-y += asound.h |
diff --git a/include/sound/sh_dac_audio.h b/include/sound/sh_dac_audio.h new file mode 100644 index 000000000000..f5deaf1ddb9f --- /dev/null +++ b/include/sound/sh_dac_audio.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* | ||
2 | * SH_DAC specific configuration, for the dac_audio platform_device | ||
3 | * | ||
4 | * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify it | ||
7 | * under the terms of the GNU General Public License version 2 as published | ||
8 | * by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __INCLUDE_SH_DAC_AUDIO_H | ||
12 | #define __INCLUDE_SH_DAC_AUDIO_H | ||
13 | |||
14 | struct dac_audio_pdata { | ||
15 | int buffer_size; | ||
16 | int channel; | ||
17 | void (*start)(struct dac_audio_pdata *pd); | ||
18 | void (*stop)(struct dac_audio_pdata *pd); | ||
19 | }; | ||
20 | |||
21 | #endif /* __INCLUDE_SH_DAC_AUDIO_H */ | ||
diff --git a/include/sound/sscape_ioctl.h b/include/sound/sscape_ioctl.h deleted file mode 100644 index 0d8885969c64..000000000000 --- a/include/sound/sscape_ioctl.h +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | #ifndef SSCAPE_IOCTL_H | ||
2 | #define SSCAPE_IOCTL_H | ||
3 | |||
4 | |||
5 | struct sscape_bootblock | ||
6 | { | ||
7 | unsigned char code[256]; | ||
8 | unsigned version; | ||
9 | }; | ||
10 | |||
11 | #define SSCAPE_MICROCODE_SIZE 65536 | ||
12 | |||
13 | struct sscape_microcode | ||
14 | { | ||
15 | unsigned char __user *code; | ||
16 | }; | ||
17 | |||
18 | #define SND_SSCAPE_LOAD_BOOTB _IOWR('P', 100, struct sscape_bootblock) | ||
19 | #define SND_SSCAPE_LOAD_MCODE _IOW ('P', 101, struct sscape_microcode) | ||
20 | |||
21 | #endif | ||