From 59c095facedbcd9794502a36a728cb4edd701dbe Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Sun, 12 Jun 2011 13:02:43 -0700 Subject: [PATCH] --- yaml --- r: 253764 b: refs/heads/master c: 2308f4add3de9f6c9c9f02e49461e94d84bb200a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_beep.h | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 1ccdadb5f2f9..f830a800ceac 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 54463a66b91cf491a7c9af612b0e310babc5fa24 +refs/heads/master: 2308f4add3de9f6c9c9f02e49461e94d84bb200a diff --git a/trunk/sound/pci/hda/hda_beep.h b/trunk/sound/pci/hda/hda_beep.h index f1de1bac042c..4967eabe774e 100644 --- a/trunk/sound/pci/hda/hda_beep.h +++ b/trunk/sound/pci/hda/hda_beep.h @@ -50,7 +50,12 @@ 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 -#define snd_hda_attach_beep_device(...) 0 -#define snd_hda_detach_beep_device(...) +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) +{ +} #endif #endif