Ignore:
Timestamp:
Jun 13, 2007, 9:06:25 AM (18 years ago)
Author:
stevenhl
Message:

Get rid of spurious warnings

Location:
GPL/trunk/alsa-kernel/pci/trident
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/trident/trident.c

    r77 r135  
    7878MODULE_DEVICE_TABLE(pci, snd_trident_ids);
    7979
     80// 12 Jun 07 SHL fixme to be in some .h
     81void __devinit snd_trident_gameport(struct snd_trident *chip);
     82
    8083static int __devinit snd_trident_probe(struct pci_dev *pci,
    8184                                       const struct pci_device_id *pci_id)
  • GPL/trunk/alsa-kernel/pci/trident/trident_main.c

    r84 r135  
    145145
    146146/*---------------------------------------------------------------------------
    147  void snd_trident_codec_write(ac97_t *ac97, unsigned short reg, unsigned short wdata)
     147 void snd_trident_codec_write(ac97_t *ac97, unsigned short reg, unsigned short wdata unsigned short unused)
    148148
    149149 Description: This routine will do all of the writing to the external
     
    23552355    snd_trident_spdif_control_get,
    23562356    snd_trident_spdif_control_put,
     2357    0,
    23572358    0x28,
    23582359};
     
    25672568    snd_trident_ac97_control_get,
    25682569    snd_trident_ac97_control_put,
     2570    0,
    25692571    4,
    25702572};
     
    26232625    snd_trident_vol_control_get,
    26242626    snd_trident_vol_control_put,
    2625     16,
     2627    0,                  // tlv
     2628    16                  // private
    26262629};
    26272630
     
    29402943    int idx, err, retries = 2;
    29412944    static ac97_bus_ops_t ops = {
    2942         0,snd_trident_codec_write,
    2943         snd_trident_codec_read,0,0
     2945        0,              // reset
     2946        0,              // warm_reset
     2947        snd_trident_codec_write,
     2948        snd_trident_codec_read,
     2949        0,              // wait
     2950        0               // init
    29442951    };
    29452952    uctl = kcalloc(1, sizeof(*uctl), GFP_KERNEL);
Note: See TracChangeset for help on using the changeset viewer.