#ifndef __SOUND_HDA_BEEP_H
#define __SOUND_HDA_BEEP_H
#include <sound/hda_codec.h>
#define HDA_BEEP_MODE_OFF …
#define HDA_BEEP_MODE_ON …
struct hda_beep { … };
#ifdef CONFIG_SND_HDA_INPUT_BEEP
int snd_hda_enable_beep_device(struct hda_codec *codec, int enable);
int snd_hda_attach_beep_device(struct hda_codec *codec, int nid);
void snd_hda_detach_beep_device(struct hda_codec *codec);
#else
static inline int snd_hda_attach_beep_device(struct hda_codec *codec, int nid)
{
return 0;
}
static inline void snd_hda_detach_beep_device(struct hda_codec *codec)
{
}
#endif
#endif