[9610] wlbt: Fix compilaton error in scsc_logring (Android P)
authorTarun Karela <t.karela@samsung.com>
Mon, 28 May 2018 15:57:20 +0000 (16:57 +0100)
committerYoungsoo Kim <youngss.kim@samsung.com>
Fri, 15 Jun 2018 22:46:10 +0000 (07:46 +0900)
drivers/misc/samsung/scsc/scsc_logring_ring.c: In function 'tag_writer_string':
drivers/misc/samsung/scsc/scsc_logring_ring.c:328:2: error: implicit declaration of function 'local_clock' [-Werror=implicit-function-declaration]
SCSC_FILL_RING_RECORD(rrec, tag, lev);

Change-Id: I8f73d42026283866c4c3276756251ba21bd44b6c
SCSC-Bug-Id: SSB-40175
Signed-off-by: Tarun Karela <t.karela@samsung.com>
include/scsc/scsc_logring.h

index 961fa9d0ff6f697f9f535355067a82003a3414c1..e9054bf337e6abaa632216de9dc8a2094217ff72 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/types.h>
 #include <linux/printk.h>
 #include <linux/device.h>
+#include <linux/sched/clock.h>
 
 /* NOTE_CREATING_TAGS: when adding a tag here REMEMBER to add it also
  * where required, taking care to maintain the same ordering.