Skip to content

Commit ca2585a

Browse files
committed
ALSA: hda - Fix missing static inline to beep dummy function
The commit 2308f4a missed static inline thus it resulted in multiple-definitions error at linking. Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 37f7ec3 commit ca2585a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/hda_beep.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static inline int snd_hda_attach_beep_device(struct hda_codec *codec, int nid)
5454
{
5555
return 0;
5656
}
57-
void snd_hda_detach_beep_device(struct hda_codec *codec)
57+
static inline void snd_hda_detach_beep_device(struct hda_codec *codec)
5858
{
5959
}
6060
#endif

0 commit comments

Comments
 (0)