aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-06-20 14:32:29 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-20 09:44:42 -0700
commit2b35404ef7762af15ce138281c91b4cc0e2d0124 (patch)
tree87ad6ddab90e3c2a35d96c2247afaf327cfee348 /drivers/thunderbolt
parentw1/masters: use pr_* instead of printk (diff)
downloadlinux-dev-2b35404ef7762af15ce138281c91b4cc0e2d0124.tar.xz
linux-dev-2b35404ef7762af15ce138281c91b4cc0e2d0124.zip
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.c1
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"
/**