diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-06-20 13:02:29 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-20 20:44:42 +0400 |
commit | 2b35404ef7762af15ce138281c91b4cc0e2d0124 (patch) | |
tree | 87ad6ddab90e3c2a35d96c2247afaf327cfee348 /drivers/thunderbolt | |
parent | 1fda5690906b20ce823964eaac32baa8d3a03f61 (diff) | |
download | linux-2b35404ef7762af15ce138281c91b4cc0e2d0124.tar.xz |
thunderbolt: Fix build error in eeprom.c
Fixes the below error:
drivers/thunderbolt/eeprom.c:407:2: error: implicit declaration of function ‘kzalloc’ [-Werror=implicit-function-declaration]
drivers/thunderbolt/eeprom.c:444:2: error: implicit declaration of function ‘kfree’ [-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/eeprom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thunderbolt/eeprom.c b/drivers/thunderbolt/eeprom.c index 0d5a80b2d07a..bc0449f581c2 100644 --- a/drivers/thunderbolt/eeprom.c +++ b/drivers/thunderbolt/eeprom.c @@ -5,6 +5,7 @@ */ #include <linux/crc32.h> +#include <linux/slab.h> #include "tb.h" /** |