[alsa-devel] [PATCH 13/21] ALSA: hda - Add missing inclusion of	<linux/clocksource.h>
    Takashi Iwai 
    tiwai at suse.de
       
    Fri Apr 24 14:38:45 CEST 2015
    
    
  
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 at intel.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
---
 sound/hda/hdac_stream.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/sound/hda/hdac_stream.c b/sound/hda/hdac_stream.c
index 8bd67a824b5e..9ffff6d9ba8e 100644
--- a/sound/hda/hdac_stream.c
+++ b/sound/hda/hdac_stream.c
@@ -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>
-- 
2.3.5
    
    
More information about the Alsa-devel
mailing list