diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-21 02:45:37 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:06 -0500 |
commit | 44fb7aae82b37f5bb66cb1423e2babb11d90969e (patch) | |
tree | 031a965cf320c285f811e5b3de17152984ee4abf /sound/pci/oxygen/oxygen.h | |
parent | db2396d4959340dbe2b617bde3beb2268f1e3658 (diff) |
[ALSA] oxygen: remove MIDI autodetection
The MIDI bit in the MISC register is set by default and cannot be used
to detect the presence of a MIDI port. Instead, add a parameter to the
oxygen_pci_probe() function so that model drivers can specify this.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/oxygen.h')
-rw-r--r-- | sound/pci/oxygen/oxygen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h index 98cccc6ce9dc..1c402cbc1c37 100644 --- a/sound/pci/oxygen/oxygen.h +++ b/sound/pci/oxygen/oxygen.h | |||
@@ -92,7 +92,7 @@ struct oxygen_model { | |||
92 | 92 | ||
93 | /* oxygen_lib.c */ | 93 | /* oxygen_lib.c */ |
94 | 94 | ||
95 | int oxygen_pci_probe(struct pci_dev *pci, int index, char *id, | 95 | int oxygen_pci_probe(struct pci_dev *pci, int index, char *id, int midi, |
96 | const struct oxygen_model *model); | 96 | const struct oxygen_model *model); |
97 | void oxygen_pci_remove(struct pci_dev *pci); | 97 | void oxygen_pci_remove(struct pci_dev *pci); |
98 | 98 | ||