diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-07-30 09:01:46 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-12 20:43:02 -0400 |
commit | d7ffba19ce4c1b153d502a89d829400bf76d6c11 (patch) | |
tree | fca202a4d4cd4dae9ded85c274746693b22a5fb4 /sound/pci/hda/hda_local.h | |
parent | 6c1f45ea89b59ad2cdbfa6779e23d77b274da0a7 (diff) |
ALSA: hda - Add sysfs entries to hwdep devices
Added the sysfs entries to hwdep devices so that the new features
like reconfiguration can be done via sysfs.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index d8283f1ab21a..4a08c31b498a 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -401,7 +401,12 @@ void snd_hda_ctls_clear(struct hda_codec *codec); | |||
401 | /* | 401 | /* |
402 | * hwdep interface | 402 | * hwdep interface |
403 | */ | 403 | */ |
404 | #ifdef CONFIG_SND_HDA_HWDEP | ||
404 | int snd_hda_create_hwdep(struct hda_codec *codec); | 405 | int snd_hda_create_hwdep(struct hda_codec *codec); |
406 | int snd_hda_hwdep_add_sysfs(struct hda_codec *codec); | ||
407 | #else | ||
408 | static inline int snd_hda_create_hwdep(struct hda_codec *codec) { return 0; } | ||
409 | #endif | ||
405 | 410 | ||
406 | /* | 411 | /* |
407 | * power-management | 412 | * power-management |