From b20dbc53b56b7ef27d148083a11273618f077667 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Tue, 14 Jun 2011 16:02:06 +1000 Subject: Revert "ALSA: hda - Fix beep_device compilation warnings" This reverts commit 2308f4add3de9f6c9c9f02e49461e94d84bb200a. --- sound/pci/hda/hda_beep.h | 9 ++------- 1 file 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 -- cgit v1.2.3