提交 b27b8ea8 编写于 作者: R Randy Dunlap 提交者: Greg Kroah-Hartman

staging: intel_sst: intelmid needs delay.h

intel_sst drivers need to #include <linux/delay.h> so that
they build cleanly:

drivers/staging/intel_sst/intelmid_v1_control.c:188: error: implicit declaration of function 'msleep'
drivers/staging/intel_sst/intelmid_v2_control.c:172: error: implicit declaration of function 'msleep'
Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Harsha Priya <priya.harsha@intel.com>
Cc: KP Jeeja <jeeja.kp@intel.com>
Cc: Dharageswari R <dharageswari.r@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 95c2b71b
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/delay.h>
#include <linux/file.h> #include <linux/file.h>
#include <asm/mrst.h> #include <asm/mrst.h>
#include <sound/pcm.h> #include <sound/pcm.h>
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/delay.h>
#include <linux/file.h> #include <linux/file.h>
#include "intel_sst.h" #include "intel_sst.h"
#include "intelmid_snd_control.h" #include "intelmid_snd_control.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册