[PATCH 2/6] thunderbolt: Fix build error in switch.c

From: Sachin Kamat
Date: Fri Jun 20 2014 - 05:06:50 EST


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: Sachin Kamat <sachin.kamat@xxxxxxxxxxx>
---
drivers/thunderbolt/switch.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/thunderbolt/switch.c b/drivers/thunderbolt/switch.c
index 0d50e7e7b29b..26e76e4aa835 100644
--- a/drivers/thunderbolt/switch.c
+++ b/drivers/thunderbolt/switch.c
@@ -5,6 +5,7 @@
*/

#include <linux/delay.h>
+#include <linux/slab.h>

#include "tb.h"

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/