summaryrefslogtreecommitdiff
path: root/drivers/staging/dgap
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2013-12-21 14:28:25 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 03:43:21 +0400
commit9c5f179196420cc526d9edca1061214ba2ebb665 (patch)
tree7cebb73cd433ca4de9cdc88f74c290b92d739e89 /drivers/staging/dgap
parent7fc6cb2876ea8e3d07db02d8a9102d93ea9948c9 (diff)
downloadlinux-9c5f179196420cc526d9edca1061214ba2ebb665.tar.xz
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>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r--drivers/staging/dgap/dgap_trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/dgap/dgap_trace.c b/drivers/staging/dgap/dgap_trace.c
index 89d62b231752..a53db9e0a577 100644
--- a/drivers/staging/dgap/dgap_trace.c
+++ b/drivers/staging/dgap/dgap_trace.c
@@ -37,6 +37,7 @@
#include <linux/vmalloc.h>
#include "dgap_driver.h"
+#include "dgap_trace.h"
#define TRC_TO_CONSOLE 1