aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-06-20 05:02:30 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-20 12:44:42 -0400
commit10fefe56bba413fb0525207c65cf50cf2a5afaff (patch)
tree2f04090849fb6addc0b191d6bcb1db27feca400c /drivers/thunderbolt
parent2b35404ef7762af15ce138281c91b4cc0e2d0124 (diff)
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: Sachin Kamat <sachin.kamat@samsung.com> Acked-by: Andreas Noever <andreas.noever@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thunderbolt')
-rw-r--r--drivers/thunderbolt/switch.c1
1 files changed, 1 insertions, 0 deletions
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 @@
5 */ 5 */
6 6
7#include <linux/delay.h> 7#include <linux/delay.h>
8#include <linux/slab.h>
8 9
9#include "tb.h" 10#include "tb.h"
10 11