summaryrefslogtreecommitdiffstats
path: root/sound/pci/ca0106/ca0106.h
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-05-21 22:35:58 +0200
committerJaroslav Kysela <perex@suse.cz>2005-05-29 10:11:35 +0200
commit1baa705b75124df7cfe3d5d2706f794a14d26ad0 (patch)
treefb3e4a81c53a52caa33ee27426716360e5e5dc68 /sound/pci/ca0106/ca0106.h
parent8f55fbb0fdb821023ff0a816ebf5056188891ff0 (diff)
downloadop-kernel-dev-1baa705b75124df7cfe3d5d2706f794a14d26ad0.zip
op-kernel-dev-1baa705b75124df7cfe3d5d2706f794a14d26ad0.tar.gz
[ALSA] Tidy up card recognition.
CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Diffstat (limited to 'sound/pci/ca0106/ca0106.h')
-rw-r--r--sound/pci/ca0106/ca0106.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/pci/ca0106/ca0106.h b/sound/pci/ca0106/ca0106.h
index deb0288..c623858 100644
--- a/sound/pci/ca0106/ca0106.h
+++ b/sound/pci/ca0106/ca0106.h
@@ -508,9 +508,17 @@ struct snd_ca0106_pcm {
unsigned short running;
};
+typedef struct {
+ u32 serial;
+ char * name;
+ int ac97;
+ int gpio_type;
+} ca0106_details_t;
+
// definition of the chip-specific record
struct snd_ca0106 {
snd_card_t *card;
+ ca0106_details_t *details;
struct pci_dev *pci;
unsigned long port;
OpenPOWER on IntegriCloud