diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index a05db2f214bd..e7843ffeeb2f 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <sound/tlv.h> | 31 | #include <sound/tlv.h> |
32 | #include <sound/initval.h> | 32 | #include <sound/initval.h> |
33 | #include "hda_local.h" | 33 | #include "hda_local.h" |
34 | #include <sound/hda_hwdep.h> | ||
34 | 35 | ||
35 | 36 | ||
36 | /* | 37 | /* |
@@ -594,6 +595,9 @@ int __devinit snd_hda_codec_new(struct hda_bus *bus, unsigned int codec_addr, | |||
594 | init_unsol_queue(bus); | 595 | init_unsol_queue(bus); |
595 | 596 | ||
596 | snd_hda_codec_proc_new(codec); | 597 | snd_hda_codec_proc_new(codec); |
598 | #ifdef CONFIG_SND_HDA_HWDEP | ||
599 | snd_hda_create_hwdep(codec); | ||
600 | #endif | ||
597 | 601 | ||
598 | sprintf(component, "HDA:%08x", codec->vendor_id); | 602 | sprintf(component, "HDA:%08x", codec->vendor_id); |
599 | snd_component_add(codec->bus->card, component); | 603 | snd_component_add(codec->bus->card, component); |