]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix beep_device compilation warnings
authorJoe Perches <joe@perches.com>
Sun, 12 Jun 2011 20:02:43 +0000 (13:02 -0700)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Jun 2011 06:36:26 +0000 (08:36 +0200)
commit055dafb0c158311a8bda1bf3f33ac05e12c0d3e3
treef60859c149a492f0f467c7358df0f85465abc0de
parent8a03e9eedecff536f22974e066fe176f8d3d6fb1
ALSA: hda - Fix beep_device compilation warnings

Using static inline functions can reduce compilation messages
and macro misuse.

 sound/pci/hda/patch_conexant.c: In function ‘patch_cxt5045’:
 sound/pci/hda/patch_conexant.c:1232:3: warning: statement with no effect

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_beep.h