projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37f7ec3
)
ALSA: hda - Fix missing static inline to beep dummy function
author
Takashi Iwai
<tiwai@suse.de>
Tue, 14 Jun 2011 06:14:32 +0000
(08:14 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 14 Jun 2011 06:14:32 +0000
(08:14 +0200)
The commit
2308f4add3de9f6c9c9f02e49461e94d84bb200a
missed static inline
thus it resulted in multiple-definitions error at linking.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_beep.h
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_beep.h
b/sound/pci/hda/hda_beep.h
index 4967eabe774e189ea01fe4791deded6b389d1d39..55f0647458c70aebb79028d3131e6f520d63eb19 100644
(file)
--- a/
sound/pci/hda/hda_beep.h
+++ b/
sound/pci/hda/hda_beep.h
@@
-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