From: David Woodhouse Date: Wed, 3 May 2006 23:42:42 +0000 (+0100) Subject: Fix integer types in SNDRV_HDSP_IOCTL_GET_PEAK_RMS ioctl X-Git-Tag: v2.6.18-rc1~1103^2~22 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=888855dc00c302c88663ec256bb422f4b27046f2;p=linux-2.6-omap-h63xx.git Fix integer types in SNDRV_HDSP_IOCTL_GET_PEAK_RMS ioctl We should be using __u32 et al, not the kernel-private types. Signed-off-by: David Woodhouse --- diff --git a/include/sound/hdsp.h b/include/sound/hdsp.h index 25e1951a995..dec6b1dc37e 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)