Skip to contentSkip to conversation

drivers: ras: Include appropriate header in debugfs.c

PATCH New Darshana Padmadas 1 participant 1 message Jan 29, 2015 RAS infrastructure

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: ras: Include appropriate header in debugfs.c

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]

---
 drivers/ras/debugfs.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ras/debugfs.c +1 -0
index 0322acf..627f6107 100644
@@ -1,4 +1,5 @@
 #include <linux/debugfs.h>
+#include <linux/ras.h>
 
 static struct dentry *ras_debugfs_dir;
 
Signature · 1 line
1.9.1