浏览代码

ALSA: hda - Add missing inclusion of <linux/clocksource.h>

For fixing randconfig build errors like:

   sound/hda/hdac_stream.c: In function 'azx_timecounter_init':
   sound/hda/hdac_stream.c:365:2: error: implicit declaration of function 'CLOCKSOURCE_MASK' [-Werror=implicit-function-declaration]

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 10 年之前
父节点
当前提交
5f26facecb
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sound/hda/hdac_stream.c

+ 1 - 0
sound/hda/hdac_stream.c

@@ -5,6 +5,7 @@
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/delay.h>
 #include <linux/export.h>
 #include <linux/export.h>
+#include <linux/clocksource.h>
 #include <sound/core.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm.h>
 #include <sound/hdaudio.h>
 #include <sound/hdaudio.h>