浏览代码

ASoC: TWL6040: use of kzalloc/kfree requires the include of slab.h

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Stephen Rothwell 15 年之前
父节点
当前提交
68b40cc40a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sound/soc/codecs/twl6040.c

+ 1 - 0
sound/soc/codecs/twl6040.c

@@ -27,6 +27,7 @@
 #include <linux/i2c.h>
 #include <linux/gpio.h>
 #include <linux/platform_device.h>
+#include <linux/slab.h>
 #include <linux/i2c/twl.h>
 
 #include <sound/core.h>