diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-06-14 16:02:06 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-06-14 16:02:06 +1000 |
commit | b20dbc53b56b7ef27d148083a11273618f077667 (patch) | |
tree | 3458e7e9a0cb5b583d61dc17d1229cb110b52275 | |
parent | 17550af19a87460ef7b175e99e07b3b53d89fbfe (diff) |
Revert "ALSA: hda - Fix beep_device compilation warnings"
This reverts commit 2308f4add3de9f6c9c9f02e49461e94d84bb200a.
-rw-r--r-- | sound/pci/hda/hda_beep.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sound/pci/hda/hda_beep.h b/sound/pci/hda/hda_beep.h index 4967eabe774e..f1de1bac042c 100644 --- a/sound/pci/hda/hda_beep.h +++ b/sound/pci/hda/hda_beep.h @@ -50,12 +50,7 @@ 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; -} -void snd_hda_detach_beep_device(struct hda_codec *codec) -{ -} +#define snd_hda_attach_beep_device(...) 0 +#define snd_hda_detach_beep_device(...) #endif #endif |