Эх сурвалжийг харах

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>
Sachin Kamat 11 жил өмнө
parent
commit
2b35404ef7

+ 1 - 0
drivers/thunderbolt/eeprom.c

@@ -5,6 +5,7 @@
  */
  */
 
 
 #include <linux/crc32.h>
 #include <linux/crc32.h>
+#include <linux/slab.h>
 #include "tb.h"
 #include "tb.h"
 
 
 /**
 /**