Changeset 695 for GPL/trunk/alsa-kernel/isa/cs423x/cs4231.c
- Timestamp:
- Aug 21, 2021, 3:35:34 AM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-next merged: 691-694
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/isa/cs423x/cs4231.c
r679 r695 24 24 MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); 25 25 MODULE_LICENSE("GPL"); 26 MODULE_SUPPORTED_DEVICE("{{Crystal Semiconductors,CS4231}}");27 26 28 27 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ … … 96 95 goto out; 97 96 98 str lcpy(card->driver, "CS4231", sizeof(card->driver));99 str lcpy(card->shortname, chip->pcm->name, sizeof(card->shortname));97 strscpy(card->driver, "CS4231", sizeof(card->driver)); 98 strscpy(card->shortname, chip->pcm->name, sizeof(card->shortname)); 100 99 101 100 if (dma2[n] < 0) … … 136 135 } 137 136 138 static intsnd_cs4231_remove(struct device *dev, unsigned int n)137 static void snd_cs4231_remove(struct device *dev, unsigned int n) 139 138 { 140 139 snd_card_free(dev_get_drvdata(dev)); 141 return 0;142 140 } 143 141
Note:
See TracChangeset
for help on using the changeset viewer.