Changeset 209 for GPL/trunk/alsa-kernel


Ignore:
Timestamp:
Jun 26, 2007, 5:32:43 AM (18 years ago)
Author:
Brendan Oakley
Message:

Another warning fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/isa/opl3sa2.c

    r135 r209  
    322322int snd_opl3sa_get_single(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol)
    323323{
    324         struct snd_opl3sa *oplcard = (struct snd_opl3sa *)_snd_kcontrol_chip(kcontrol);
     324        struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol);
    325325        unsigned long flags;
    326326        int reg = kcontrol->private_value & 0xff;
     
    339339int snd_opl3sa_put_single(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol)
    340340{
    341         struct snd_opl3sa *oplcard = (struct snd_opl3sa *)_snd_kcontrol_chip(kcontrol);
     341        struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol);
    342342        unsigned long flags;
    343343        int reg = kcontrol->private_value & 0xff;
     
    390390int snd_opl3sa_get_double(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol)
    391391{
    392         struct snd_opl3sa *oplcard = (struct snd_opl3sa *)_snd_kcontrol_chip(kcontrol);
     392        struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol);
    393393        unsigned long flags;
    394394        int left_reg = kcontrol->private_value & 0xff;
     
    412412int snd_opl3sa_put_double(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol)
    413413{
    414         struct snd_opl3sa *oplcard = (struct snd_opl3sa *)_snd_kcontrol_chip(kcontrol);
     414        struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol);
    415415        unsigned long flags;
    416416        int left_reg = kcontrol->private_value & 0xff;
     
    469469static void snd_opl3sa_master_free(snd_kcontrol_t *kcontrol)
    470470{
    471         struct snd_opl3sa *oplcard = (struct snd_opl3sa *)_snd_kcontrol_chip(kcontrol);
     471        struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol);
    472472       
    473473        oplcard->master_switch = NULL;
Note: See TracChangeset for help on using the changeset viewer.