提交 10fefe56 编写于 作者: S Sachin Kamat 提交者: Greg Kroah-Hartman

thunderbolt: Fix build error in switch.c

Fixes the below error:
drivers/thunderbolt/switch.c:347:2: error: implicit declaration of function ‘kzalloc’ [-Werror=implicit-function-declaration]
drivers/thunderbolt/switch.c:381:2: error: implicit declaration of function ‘kcalloc’ [-Werror=implicit-function-declaration]
Signed-off-by: NSachin Kamat <sachin.kamat@samsung.com>
Acked-by: NAndreas Noever <andreas.noever@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 2b35404e
......@@ -5,6 +5,7 @@
*/
#include <linux/delay.h>
#include <linux/slab.h>
#include "tb.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册