diff options
Diffstat (limited to 'drivers/md/bcache/closure.c')
-rw-r--r-- | drivers/md/bcache/closure.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/md/bcache/closure.c b/drivers/md/bcache/closure.c index d6fbec0f8484..f54f7c9981d4 100644 --- a/drivers/md/bcache/closure.c +++ b/drivers/md/bcache/closure.c | |||
@@ -334,14 +334,12 @@ static const struct file_operations debug_ops = { | |||
334 | .release = single_release | 334 | .release = single_release |
335 | }; | 335 | }; |
336 | 336 | ||
337 | int __init closure_debug_init(void) | 337 | void __init closure_debug_init(void) |
338 | { | 338 | { |
339 | debug = debugfs_create_file("closures", 0400, NULL, NULL, &debug_ops); | 339 | debug = debugfs_create_file("closures", 0400, NULL, NULL, &debug_ops); |
340 | return 0; | 340 | return 0; |
341 | } | 341 | } |
342 | 342 | ||
343 | module_init(closure_debug_init); | ||
344 | |||
345 | #endif | 343 | #endif |
346 | 344 | ||
347 | MODULE_AUTHOR("Kent Overstreet <koverstreet@google.com>"); | 345 | MODULE_AUTHOR("Kent Overstreet <koverstreet@google.com>"); |