diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-01-14 03:16:52 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-01-14 03:18:48 -0500 |
commit | d1458279bf9c575a52fd22818ca19c463f380aba (patch) | |
tree | 4e83317ce1a574111efc319e2bb7e75003cecaef /include/sound/core.h | |
parent | 47e91348459901c30cc1bb4897e62ced21ca243a (diff) |
ALSA: Add snd_pci_quirk_lookup_id()
Added a new function to look up a quirk entry with the given PCI SSID
instead of a pci device pointer. This can be used when the searched ID
is overridden for debugging or such a purpose.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/core.h')
-rw-r--r-- | include/sound/core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index a61499c22b0b..89e0ac17f44a 100644 --- a/include/sound/core.h +++ b/include/sound/core.h | |||
@@ -458,5 +458,8 @@ struct snd_pci_quirk { | |||
458 | const struct snd_pci_quirk * | 458 | const struct snd_pci_quirk * |
459 | snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list); | 459 | snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list); |
460 | 460 | ||
461 | const struct snd_pci_quirk * | ||
462 | snd_pci_quirk_lookup_id(u16 vendor, u16 device, | ||
463 | const struct snd_pci_quirk *list); | ||
461 | 464 | ||
462 | #endif /* __SOUND_CORE_H */ | 465 | #endif /* __SOUND_CORE_H */ |