aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652/hdsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/rme9652/hdsp.c')
-rw-r--r--sound/pci/rme9652/hdsp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index b92adef8e81e..599e09051663 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)
3284static void 3284static void
3285snd_hdsp_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) 3285snd_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
4567static int snd_hdsp_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, unsigned int cmd, unsigned long arg) 4567static 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
@@ -5155,7 +5155,7 @@ static int snd_hdsp_free(struct hdsp *hdsp)
5155 5155
5156static void snd_hdsp_card_free(struct snd_card *card) 5156static void snd_hdsp_card_free(struct snd_card *card)
5157{ 5157{
5158 struct hdsp *hdsp = (struct hdsp *) card->private_data; 5158 struct hdsp *hdsp = card->private_data;
5159 5159
5160 if (hdsp) 5160 if (hdsp)
5161 snd_hdsp_free(hdsp); 5161 snd_hdsp_free(hdsp);
@@ -5181,7 +5181,7 @@ static int __devinit snd_hdsp_probe(struct pci_dev *pci,
5181 if (err < 0) 5181 if (err < 0)
5182 return err; 5182 return err;
5183 5183
5184 hdsp = (struct hdsp *) card->private_data; 5184 hdsp = card->private_data;
5185 card->private_free = snd_hdsp_card_free; 5185 card->private_free = snd_hdsp_card_free;
5186 hdsp->dev = dev; 5186 hdsp->dev = dev;
5187 hdsp->pci = pci; 5187 hdsp->pci = pci;