sound: Add delay.h to sound/soc/codecs/sn95031.c
authorIngo Molnar <mingo@elte.hu>
Thu, 13 Nov 2008 10:51:57 +0000 (11:51 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 31 Mar 2011 05:56:47 +0000 (07:56 +0200)
This is further fallout from delay.h removal from asm/apic.h and asm/dma.h:

  ca444564a947: x86: Stop including <linux/delay.h> in two asm header files

Which caused this build failure:

  sound/soc/codecs/sn95031.c: In function ‘sn95031_get_mic_bias’:
  sound/soc/codecs/sn95031.c:153:2: error: implicit declaration of function ‘msleep’ [-Werror=implicit-function-declaration]

Cc: Jean Delvare <khali@linux-fr.org>
Cc: James E.J. Bottomley <James.Bottomley@suse.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
LKML-Reference: <20110325152014.297890ec@endymion.delvare>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
sound/soc/codecs/sn95031.c

index 2a30eae1881ce66125ff3ceb581b21e630bf0cc8..a54d2a5b28f646765b29d2c08ffaa59015fb6ebc 100644 (file)
@@ -26,7 +26,9 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/platform_device.h>
+#include <linux/delay.h>
 #include <linux/slab.h>
+
 #include <asm/intel_scu_ipc.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>