From 8d365bf8fe59876e710b316bc70105c3331bf4fb Mon Sep 17 00:00:00 2001 From: Tarun Karela Date: Mon, 28 May 2018 17:14:46 +0100 Subject: [PATCH] [9610] wlbt: Fix compilation error in mxlog_transport.c (Android P) rivers/misc/samsung/scsc/mxlog_transport.c: In function 'mxlog_thread_start': drivers/misc/samsung/scsc/mxlog_transport.c:223:2: error: implicit declaration of function 'get_task_struct' [-Werror=implicit-function-declaration] get_task_struct(th->task); ^ drivers/misc/samsung/scsc/mxlog_transport.c:231:3: error: implicit declaration of function 'put_task_struct' [-Werror=implicit-function-declaration] put_task_struct(th->task); ^ cc1: some warnings being treated as errors scripts/Makefile.build:328: recipe for target 'drivers/misc/samsung/scsc/mxlog_transport.o' failed Change-Id: I58fe04f22b907608e03938440a0148b94d23db14 SCSC-Bug-Id: SSB-40175 Signed-off-by: Tarun Karela --- drivers/misc/samsung/scsc/mxlog_transport.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/misc/samsung/scsc/mxlog_transport.c b/drivers/misc/samsung/scsc/mxlog_transport.c index 9c3780b85805..ea163b57e76b 100644 --- a/drivers/misc/samsung/scsc/mxlog_transport.c +++ b/drivers/misc/samsung/scsc/mxlog_transport.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include "scsc_mif_abs.h" #include "mifintrbit.h" -- 2.20.1