Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47240
b: refs/heads/master
c: c2902c8
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Feb 9, 2007
1 parent 048b493 commit 3c8ba67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48ec15dca87805cf771855612d647bfe1a9f617f
refs/heads/master: c2902c8ae06762d941fab64198467f78cab6f8cd
2 changes: 1 addition & 1 deletion trunk/include/sound/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ static inline int snd_register_device(int type, struct snd_card *card, int dev,
{
return snd_register_device_for_dev(type, card, dev, f_ops,
private_data, name,
card ? card->dev : NULL);
snd_card_get_device_link(card));
}

int snd_unregister_device(int type, struct snd_card *card, int dev);
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/core/pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@ static int snd_pcm_dev_register(struct snd_device *device)
* if possible */
dev = pcm->dev;
if (!dev)
dev = pcm->card ? pcm->card->dev : NULL;
dev = snd_card_get_device_link(pcm->card);
/* register pcm */
err = snd_register_device_for_dev(devtype, pcm->card,
pcm->device,
Expand Down

0 comments on commit 3c8ba67

Please sign in to comment.