Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers: dgnc: Include appropriate header file in dgnc_trace.c

Include appropriate header file dgnc/dgnc_trace.h in dgnc_trace.c
because function dgnc_tracer_free() has its prototype declaration in the
header file.

This eliminates the following warning in dgnc_trace.c:
drivers/staging/dgnc/dgnc_trace.c:180:6: warning: no previous prototype for ‘dgnc_tracer_free’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Rashika Kheria and committed by
Greg Kroah-Hartman
f4ad847a f5aae444

+1
+1
drivers/staging/dgnc/dgnc_trace.c
··· 35 35 #include <linux/vmalloc.h> 36 36 37 37 #include "dgnc_driver.h" 38 + #include "dgnc_trace.h" 38 39 39 40 #define TRC_TO_CONSOLE 1 40 41