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

drivers: dgap: Include appropriate header file in dgap_trace.c

Include appropriate header file dgap/dgap_trace.h in dgap_trace.c
because function dgap_tracer_free() have its prototype declaration in
the header file.

This eliminates the following warning in dgap_trace.c:
drivers/staging/dgap/dgap_trace.c:181:6: warning: no previous prototype for ‘dgap_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
9c5f1791 7fc6cb28

+1
+1
drivers/staging/dgap/dgap_trace.c
··· 37 37 #include <linux/vmalloc.h> 38 38 39 39 #include "dgap_driver.h" 40 + #include "dgap_trace.h" 40 41 41 42 #define TRC_TO_CONSOLE 1 42 43