public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers: dgnc: Include appropriate header file in dgnc_trace.c
@ 2013-12-21 10:22 Rashika Kheria
  2013-12-21 10:54 ` Josh Triplett
  0 siblings, 1 reply; 2+ messages in thread
From: Rashika Kheria @ 2013-12-21 10:22 UTC (permalink / raw)
  To: linux-kernel
  Cc: Lidza Louina, Greg Kroah-Hartman, driverdev-devel, devel, josh

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>
---
 drivers/staging/dgnc/dgnc_trace.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/dgnc/dgnc_trace.c b/drivers/staging/dgnc/dgnc_trace.c
index a98b7d4..e2164e4 100644
--- a/drivers/staging/dgnc/dgnc_trace.c
+++ b/drivers/staging/dgnc/dgnc_trace.c
@@ -35,6 +35,7 @@
 #include <linux/vmalloc.h>
 
 #include "dgnc_driver.h"
+#include "dgnc_trace.h"
 
 #define TRC_TO_CONSOLE 1
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-21 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21 10:22 [PATCH] drivers: dgnc: Include appropriate header file in dgnc_trace.c Rashika Kheria
2013-12-21 10:54 ` Josh Triplett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox