diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-07-27 10:52:46 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 09:58:10 -0400 |
commit | ef5fa1a49fc3b5fe8e734f25fa61bc73ccba344e (patch) | |
tree | ad95dbaca50b0a415b8a23d82e5485eecd904af6 /include/sound | |
parent | d01ce99fc53271cd8ef0ef6b9a2790177fd410a1 (diff) |
[ALSA] hdspm - Coding style fixes
Fix codes to follow more to the standard kernel coding style.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/hdspm.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/include/sound/hdspm.h b/include/sound/hdspm.h index c3c854d99c28..81990b2bcc98 100644 --- a/include/sound/hdspm.h +++ b/include/sound/hdspm.h | |||
@@ -1,4 +1,4 @@ | |||
1 | #ifndef __SOUND_HDSPM_H /* -*- linux-c -*- */ | 1 | #ifndef __SOUND_HDSPM_H |
2 | #define __SOUND_HDSPM_H | 2 | #define __SOUND_HDSPM_H |
3 | /* | 3 | /* |
4 | * Copyright (C) 2003 Winfried Ritsch (IEM) | 4 | * Copyright (C) 2003 Winfried Ritsch (IEM) |
@@ -61,7 +61,8 @@ struct hdspm_peak_rms_ioctl { | |||
61 | }; | 61 | }; |
62 | 62 | ||
63 | /* use indirect access due to the limit of ioctl bit size */ | 63 | /* use indirect access due to the limit of ioctl bit size */ |
64 | #define SNDRV_HDSPM_IOCTL_GET_PEAK_RMS _IOR('H', 0x40, struct hdspm_peak_rms_ioctl) | 64 | #define SNDRV_HDSPM_IOCTL_GET_PEAK_RMS \ |
65 | _IOR('H', 0x40, struct hdspm_peak_rms_ioctl) | ||
65 | 66 | ||
66 | /* ------------ CONFIG block IOCTL ---------------------- */ | 67 | /* ------------ CONFIG block IOCTL ---------------------- */ |
67 | 68 | ||
@@ -79,7 +80,8 @@ struct hdspm_config_info { | |||
79 | unsigned int analog_out; | 80 | unsigned int analog_out; |
80 | }; | 81 | }; |
81 | 82 | ||
82 | #define SNDRV_HDSPM_IOCTL_GET_CONFIG_INFO _IOR('H', 0x41, struct hdspm_config_info) | 83 | #define SNDRV_HDSPM_IOCTL_GET_CONFIG_INFO \ |
84 | _IOR('H', 0x41, struct hdspm_config_info) | ||
83 | 85 | ||
84 | 86 | ||
85 | /* get Soundcard Version */ | 87 | /* get Soundcard Version */ |
@@ -93,10 +95,14 @@ struct hdspm_version { | |||
93 | 95 | ||
94 | /* ------------- get Matrix Mixer IOCTL --------------- */ | 96 | /* ------------- get Matrix Mixer IOCTL --------------- */ |
95 | 97 | ||
96 | /* MADI mixer: 64inputs+64playback in 64outputs = 8192 => *4Byte = 32768 Bytes */ | 98 | /* MADI mixer: 64inputs+64playback in 64outputs = 8192 => *4Byte = |
99 | * 32768 Bytes | ||
100 | */ | ||
97 | 101 | ||
98 | /* organisation is 64 channelfader in a continous memory block */ | 102 | /* organisation is 64 channelfader in a continous memory block */ |
99 | /* equivalent to hardware definition, maybe for future feature of mmap of them */ | 103 | /* equivalent to hardware definition, maybe for future feature of mmap of |
104 | * them | ||
105 | */ | ||
100 | /* each of 64 outputs has 64 infader and 64 outfader: | 106 | /* each of 64 outputs has 64 infader and 64 outfader: |
101 | Ins to Outs mixer[out].in[in], Outstreams to Outs mixer[out].pb[pb] */ | 107 | Ins to Outs mixer[out].in[in], Outstreams to Outs mixer[out].pb[pb] */ |
102 | 108 | ||