Commit 9c5f1791 authored by Rashika Kheria's avatar Rashika Kheria Committed by Greg Kroah-Hartman

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: default avatarRashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7fc6cb28
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include "dgap_driver.h" #include "dgap_driver.h"
#include "dgap_trace.h"
#define TRC_TO_CONSOLE 1 #define TRC_TO_CONSOLE 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment