aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 9c8820f21f94..5a6594884069 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -101,15 +101,6 @@ struct hda_bus_ops {
101#endif 101#endif
102}; 102};
103 103
104/* template to pass to the bus constructor */
105struct hda_bus_template {
106 void *private_data;
107 struct pci_dev *pci;
108 const char *modelname;
109 int *power_save;
110 struct hda_bus_ops ops;
111};
112
113/* 104/*
114 * codec bus 105 * codec bus
115 * 106 *
@@ -119,7 +110,6 @@ struct hda_bus_template {
119struct hda_bus { 110struct hda_bus {
120 struct snd_card *card; 111 struct snd_card *card;
121 112
122 /* copied from template */
123 void *private_data; 113 void *private_data;
124 struct pci_dev *pci; 114 struct pci_dev *pci;
125 const char *modelname; 115 const char *modelname;
@@ -420,8 +410,7 @@ enum {
420/* 410/*
421 * constructors 411 * constructors
422 */ 412 */
423int snd_hda_bus_new(struct snd_card *card, const struct hda_bus_template *temp, 413int snd_hda_bus_new(struct snd_card *card, struct hda_bus **busp);
424 struct hda_bus **busp);
425int snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr, 414int snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr,
426 struct hda_codec **codecp); 415 struct hda_codec **codecp);
427int snd_hda_codec_configure(struct hda_codec *codec); 416int snd_hda_codec_configure(struct hda_codec *codec);