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 <darshanapadma...@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

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

Reply via email to