diff options
Diffstat (limited to 'sound/pci/rme9652/hdsp.c')
-rw-r--r-- | sound/pci/rme9652/hdsp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index d6fa7bfd9aa1..0b720cf7783e 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -3284,7 +3284,7 @@ static int snd_hdsp_create_controls(struct snd_card *card, struct hdsp *hdsp) | |||
3284 | static void | 3284 | static void |
3285 | snd_hdsp_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) | 3285 | snd_hdsp_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) |
3286 | { | 3286 | { |
3287 | struct hdsp *hdsp = (struct hdsp *) entry->private_data; | 3287 | struct hdsp *hdsp = entry->private_data; |
3288 | unsigned int status; | 3288 | unsigned int status; |
3289 | unsigned int status2; | 3289 | unsigned int status2; |
3290 | char *pref_sync_ref; | 3290 | char *pref_sync_ref; |
@@ -4566,7 +4566,7 @@ static int hdsp_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rm | |||
4566 | 4566 | ||
4567 | static int snd_hdsp_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, unsigned int cmd, unsigned long arg) | 4567 | static int snd_hdsp_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, unsigned int cmd, unsigned long arg) |
4568 | { | 4568 | { |
4569 | struct hdsp *hdsp = (struct hdsp *)hw->private_data; | 4569 | struct hdsp *hdsp = hw->private_data; |
4570 | void __user *argp = (void __user *)arg; | 4570 | void __user *argp = (void __user *)arg; |
4571 | int err; | 4571 | int err; |
4572 | 4572 | ||
@@ -5156,7 +5156,7 @@ static int snd_hdsp_free(struct hdsp *hdsp) | |||
5156 | 5156 | ||
5157 | static void snd_hdsp_card_free(struct snd_card *card) | 5157 | static void snd_hdsp_card_free(struct snd_card *card) |
5158 | { | 5158 | { |
5159 | struct hdsp *hdsp = (struct hdsp *) card->private_data; | 5159 | struct hdsp *hdsp = card->private_data; |
5160 | 5160 | ||
5161 | if (hdsp) | 5161 | if (hdsp) |
5162 | snd_hdsp_free(hdsp); | 5162 | snd_hdsp_free(hdsp); |
@@ -5182,7 +5182,7 @@ static int __devinit snd_hdsp_probe(struct pci_dev *pci, | |||
5182 | if (err < 0) | 5182 | if (err < 0) |
5183 | return err; | 5183 | return err; |
5184 | 5184 | ||
5185 | hdsp = (struct hdsp *) card->private_data; | 5185 | hdsp = card->private_data; |
5186 | card->private_free = snd_hdsp_card_free; | 5186 | card->private_free = snd_hdsp_card_free; |
5187 | hdsp->dev = dev; | 5187 | hdsp->dev = dev; |
5188 | hdsp->pci = pci; | 5188 | hdsp->pci = pci; |