From: Tarun Karela Date: Mon, 28 May 2018 16:08:32 +0000 (+0100) Subject: [9610] wlbt: Fix Compilation error in scsc_wifilogger (Android P) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab7ab72846363858be47ec1566c1cd248c931042;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] wlbt: Fix Compilation error in scsc_wifilogger (Android P) This is android p patch to fix compilation error drivers/misc/samsung/scsc/scsc_wifilogger_debugfs.c: In function 'dfs_stats_read': drivers/misc/samsung/scsc/scsc_wifilogger_debugfs.c:46:3: error: implicit declaration of function 'copy_to_user' [-Werror=implicit-function-declaration] if (copy_to_user(ubuf, statstr + *f_pos, count)) Change-Id: I3f81cefe4ac5ed447ba7c574f47fcb2be00be295 SCSC-Bug-Id: SSB-40175 Signed-off-by: Tarun Karela --- diff --git a/drivers/misc/samsung/scsc/scsc_wifilogger_debugfs.c b/drivers/misc/samsung/scsc/scsc_wifilogger_debugfs.c index 98b846f2d334..daee26dc8914 100644 --- a/drivers/misc/samsung/scsc/scsc_wifilogger_debugfs.c +++ b/drivers/misc/samsung/scsc/scsc_wifilogger_debugfs.c @@ -3,6 +3,7 @@ * Copyright (c) 2018 Samsung Electronics Co., Ltd. All rights reserved. * ******************************************************************************/ +#include #include "scsc_wifilogger_debugfs.h" #include "scsc_wifilogger_ring_pktfate.h"