* [PATCH] drivers: ras: Include appropriate header in debugfs.c
@ 2015-01-29 14:52 Darshana Padmadas
0 siblings, 0 replies; only message in thread
From: Darshana Padmadas @ 2015-01-29 14:52 UTC (permalink / raw)
To: linux-kernel; +Cc: gong.chen, josh, Darshana Padmadas
Includes header file linux/ras.h that has function
prototypes for functions used in debugfs.c
This eliminates the following warnings:
drivers/ras/debugfs.c:7:5: warning: no previous prototype for ‘ras_userspace_consumers’ [-Wmissing-prototypes]
drivers/ras/debugfs.c:37:12: warning: no previous prototype for ‘ras_add_daemon_trace’ [-Wmissing-prototypes]
drivers/ras/debugfs.c:53:13: warning: no previous prototype for ‘ras_debugfs_init’ [-Wmissing-prototypes]
Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
---
drivers/ras/debugfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ras/debugfs.c b/drivers/ras/debugfs.c
index 0322acf..627f6107 100644
--- a/drivers/ras/debugfs.c
+++ b/drivers/ras/debugfs.c
@@ -1,4 +1,5 @@
#include <linux/debugfs.h>
+#include <linux/ras.h>
static struct dentry *ras_debugfs_dir;
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-01-29 14:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29 14:52 [PATCH] drivers: ras: Include appropriate header in debugfs.c Darshana Padmadas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).