debugfs_create_file(name, mode, dent, fill, &debug_ops);
}
-static void smd_debugfs_init(void)
+static int smd_debugfs_init(void)
{
struct dentry *dent;
dent = debugfs_create_dir("smd", 0);
if (IS_ERR(dent))
- return;
+ return 1;
debug_create("ch", 0444, dent, debug_read_ch);
debug_create("stat", 0444, dent, debug_read_stat);
debug_create("version", 0444, dent, debug_read_version);
debug_create("tbl", 0444, dent, debug_read_alloc_tbl);
debug_create("build", 0444, dent, debug_read_build_id);
+
+ return 0;
}
late_initcall(smd_debugfs_init);