Skip to content

Commit

Permalink
Fix integer types in <sound/hdsp.h> SNDRV_HDSP_IOCTL_GET_PEAK_RMS ioctl
Browse files Browse the repository at this point in the history
We should be using __u32 et al, not the kernel-private types.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
David Woodhouse committed May 3, 2006
1 parent 423bc7b commit 888855d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/sound/hdsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 888855d

Please sign in to comment.