drivers: ras: Include appropriate header in debugfs.c
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]
Signed-off-by Darshana Padmadas <[email protected]>
--- drivers/ras/debugfs.c | 1 + 1 file changed, 1 insertion(+)
drivers/ras/debugfs.c +1 -0
@@ -1,4 +1,5 @@#include <linux/debugfs.h> +#include <linux/ras.h> static struct dentry *ras_debugfs_dir;
Signature · 1 line
1.9.1