summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-04 00:42:42 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-04 00:42:42 +0100
commit888855dc00c302c88663ec256bb422f4b27046f2 (patch)
tree1a2a52d028f265b3792c2678959befee34c3ab74
parent423bc7b22bdeb73efeabfcf91d8a459ac33088f1 (diff)
downloadlwn-888855dc00c302c88663ec256bb422f4b27046f2.tar.gz
lwn-888855dc00c302c88663ec256bb422f4b27046f2.zip
Fix integer types in <sound/hdsp.h> SNDRV_HDSP_IOCTL_GET_PEAK_RMS ioctl
We should be using __u32 et al, not the kernel-private types. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r--include/sound/hdsp.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/sound/hdsp.h b/include/sound/hdsp.h
index 25e1951a9955..dec6b1dc37ea 100644
--- a/include/sound/hdsp.h
+++ b/include/sound/hdsp.h
@@ -30,13 +30,13 @@ enum HDSP_IO_Type {
};
struct hdsp_peak_rms {
- u32 input_peaks[26];
- u32 playback_peaks[26];
- u32 output_peaks[28];
- u64 input_rms[26];
- u64 playback_rms[26];
+ __u32 input_peaks[26];
+ __u32 playback_peaks[26];
+ __u32 output_peaks[28];
+ __u64 input_rms[26];
+ __u64 playback_rms[26];
/* These are only used for H96xx cards */
- u64 output_rms[26];
+ __u64 output_rms[26];
};
#define SNDRV_HDSP_IOCTL_GET_PEAK_RMS _IOR('H', 0x40, struct hdsp_peak_rms)