]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Reduce ifdef CONFIG_SND_HDA_I915
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Apr 2015 06:22:41 +0000 (08:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Apr 2015 06:22:41 +0000 (08:22 +0200)
commit7b0b0902249684f02db34024bd645e8c6ffc5858
tree5a335414d328dcb0f3279263671423f941c7ac29
parent94b0595380266af3d9f244c716d391ad5064e24e
ALSA: hda - Reduce ifdef CONFIG_SND_HDA_I915

We're providing dummy functions for CONFIG_SND_HDA_i915=n, thus ifdef
can be reduced.  (But hda_i915_init() has to be fixed to return zero.)

This automatically fixes a compile warning:
  sound/pci/hda/hda_intel.c: In function 'azx_probe_continue':
  sound/pci/hda/hda_intel.c:1966:1: warning: label 'i915_power_fail' defined but not used [-Wunused-label]

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_intel.h