ALSA: hda - Add missing inclusion of <linux/clocksource.h>
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Apr 2015 09:31:12 +0000 (11:31 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Apr 2015 09:31:12 +0000 (11:31 +0200)
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>
sound/hda/hdac_stream.c

index 8bd67a824b5e9e2ebeb9fc7aba9fa248d1d9f3e0..9ffff6d9ba8eeb4764d7783e81cfc622d444325b 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/kernel.h>
 #include <linux/delay.h>
 #include <linux/export.h>
+#include <linux/clocksource.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/hdaudio.h>