diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-06-20 11:02:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 18:44:42 +0200 |
commit | 10fefe56bba413fb0525207c65cf50cf2a5afaff (patch) | |
tree | 2f04090849fb6addc0b191d6bcb1db27feca400c /drivers/thunderbolt/switch.c | |
parent | thunderbolt: Fix build error in eeprom.c (diff) | |
download | linux-10fefe56bba413fb0525207c65cf50cf2a5afaff.tar.xz linux-10fefe56bba413fb0525207c65cf50cf2a5afaff.zip |
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 '')
-rw-r--r-- | drivers/thunderbolt/switch.c | 1 |
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 @@ */ #include <linux/delay.h> +#include <linux/slab.h> #include "tb.h" |