[PATCH] drivers: ras: Include appropriate header in debugfs.c

From: Darshana Padmadas
Date: Thu Jan 29 2015 - 10:56:49 EST


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@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/