aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-17 08:57:47 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:19:06 -0500
commitc8b6bf9b5ef1f595a65a3414a5ca2588e8d993b2 (patch)
tree9c297d352b2f6056fc336fb4ccb3f1a9f4c9a102 /sound/pci/hda/hda_codec.h
parent66f8df6bdd388d209c38197785148c994c8a738d (diff)
[ALSA] Remove xxx_t typedefs: HD-Audio codec
Modules: HDA Codec driver,HDA generic driver Remove xxx_t typedefs from the HD-Audio codec support codes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 58b9949aca46..0b5c36788898 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -420,7 +420,7 @@ struct hda_bus_template {
420 * A hda_bus contains several codecs in the list codec_list. 420 * A hda_bus contains several codecs in the list codec_list.
421 */ 421 */
422struct hda_bus { 422struct hda_bus {
423 snd_card_t *card; 423 struct snd_card *card;
424 424
425 /* copied from template */ 425 /* copied from template */
426 void *private_data; 426 void *private_data;
@@ -437,7 +437,7 @@ struct hda_bus {
437 /* unsolicited event queue */ 437 /* unsolicited event queue */
438 struct hda_bus_unsolicited *unsol; 438 struct hda_bus_unsolicited *unsol;
439 439
440 snd_info_entry_t *proc; 440 struct snd_info_entry *proc;
441}; 441};
442 442
443/* 443/*
@@ -481,14 +481,14 @@ struct hda_amp_info {
481/* PCM callbacks */ 481/* PCM callbacks */
482struct hda_pcm_ops { 482struct hda_pcm_ops {
483 int (*open)(struct hda_pcm_stream *info, struct hda_codec *codec, 483 int (*open)(struct hda_pcm_stream *info, struct hda_codec *codec,
484 snd_pcm_substream_t *substream); 484 struct snd_pcm_substream *substream);
485 int (*close)(struct hda_pcm_stream *info, struct hda_codec *codec, 485 int (*close)(struct hda_pcm_stream *info, struct hda_codec *codec,
486 snd_pcm_substream_t *substream); 486 struct snd_pcm_substream *substream);
487 int (*prepare)(struct hda_pcm_stream *info, struct hda_codec *codec, 487 int (*prepare)(struct hda_pcm_stream *info, struct hda_codec *codec,
488 unsigned int stream_tag, unsigned int format, 488 unsigned int stream_tag, unsigned int format,
489 snd_pcm_substream_t *substream); 489 struct snd_pcm_substream *substream);
490 int (*cleanup)(struct hda_pcm_stream *info, struct hda_codec *codec, 490 int (*cleanup)(struct hda_pcm_stream *info, struct hda_codec *codec,
491 snd_pcm_substream_t *substream); 491 struct snd_pcm_substream *substream);
492}; 492};
493 493
494/* PCM information for each substream */ 494/* PCM information for each substream */
@@ -563,7 +563,7 @@ enum {
563/* 563/*
564 * constructors 564 * constructors
565 */ 565 */
566int snd_hda_bus_new(snd_card_t *card, const struct hda_bus_template *temp, 566int snd_hda_bus_new(struct snd_card *card, const struct hda_bus_template *temp,
567 struct hda_bus **busp); 567 struct hda_bus **busp);
568int snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr, 568int snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr,
569 struct hda_codec **codecp); 569 struct hda_codec **codecp);