ALSA: hda - Remove beep_mode=2
[platform/kernel/linux-starfive.git] / sound / pci / hda / hda_beep.h
index 55f0647..30e79d1 100644 (file)
@@ -26,7 +26,6 @@
 
 #define HDA_BEEP_MODE_OFF      0
 #define HDA_BEEP_MODE_ON       1
-#define HDA_BEEP_MODE_SWREG    2
 
 /* beep information */
 struct hda_beep {
@@ -37,10 +36,7 @@ struct hda_beep {
        int tone;
        hda_nid_t nid;
        unsigned int enabled:1;
-       unsigned int request_enable:1;
        unsigned int linear_tone:1;     /* linear tone for IDT/STAC codec */
-       struct work_struct register_work; /* registration work */
-       struct delayed_work unregister_work; /* unregistration work */
        struct work_struct beep_work; /* scheduled task for beep event */
        struct mutex mutex;
 };