Skip to content

Commit

Permalink
ALSA: hda - Fix missing static inline to beep dummy function
Browse files Browse the repository at this point in the history
The commit 2308f4a missed static inline
thus it resulted in multiple-definitions error at linking.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jun 14, 2011
1 parent 37f7ec3 commit ca2585a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/hda_beep.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ 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)
static inline void snd_hda_detach_beep_device(struct hda_codec *codec)
{
}
#endif
Expand Down

0 comments on commit ca2585a

Please sign in to comment.