diff options
Diffstat (limited to 'sound/pci/hda/hda_beep.h')
-rw-r--r-- | sound/pci/hda/hda_beep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_beep.h b/sound/pci/hda/hda_beep.h index 0c3de787c717..68465f679d8c 100644 --- a/sound/pci/hda/hda_beep.h +++ b/sound/pci/hda/hda_beep.h | |||
@@ -32,11 +32,15 @@ struct hda_beep { | |||
32 | int tone; | 32 | int tone; |
33 | hda_nid_t nid; | 33 | hda_nid_t nid; |
34 | unsigned int enabled:1; | 34 | unsigned int enabled:1; |
35 | unsigned int request_enable:1; | ||
35 | unsigned int linear_tone:1; /* linear tone for IDT/STAC codec */ | 36 | unsigned int linear_tone:1; /* linear tone for IDT/STAC codec */ |
37 | struct work_struct register_work; /* scheduled task for beep event */ | ||
36 | struct work_struct beep_work; /* scheduled task for beep event */ | 38 | struct work_struct beep_work; /* scheduled task for beep event */ |
39 | struct mutex mutex; | ||
37 | }; | 40 | }; |
38 | 41 | ||
39 | #ifdef CONFIG_SND_HDA_INPUT_BEEP | 42 | #ifdef CONFIG_SND_HDA_INPUT_BEEP |
43 | int snd_hda_enable_beep_device(struct hda_codec *codec, int enable); | ||
40 | int snd_hda_attach_beep_device(struct hda_codec *codec, int nid); | 44 | int snd_hda_attach_beep_device(struct hda_codec *codec, int nid); |
41 | void snd_hda_detach_beep_device(struct hda_codec *codec); | 45 | void snd_hda_detach_beep_device(struct hda_codec *codec); |
42 | #else | 46 | #else |