diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-03-04 11:23:45 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-03-04 11:28:29 +0100 |
commit | ff88972c850ced92b9c4c7f538d85829c741eeb0 (patch) | |
tree | e7cfb7e15db26f35da6e982b934417f3909017a6 /block/genhd.c | |
parent | 278caf0120a77e4398762357a8cc522d094fe2f2 (diff) | |
download | lwn-ff88972c850ced92b9c4c7f538d85829c741eeb0.tar.gz lwn-ff88972c850ced92b9c4c7f538d85829c741eeb0.zip |
proper prototype for blk_dev_init()
This patch adds a proper prototye for blk_dev_init() in block/blk.h
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/block/genhd.c b/block/genhd.c index 53f2238e69c8..abc6feddc8c6 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -17,6 +17,8 @@ #include <linux/buffer_head.h> #include <linux/mutex.h> +#include "blk.h" + static DEFINE_MUTEX(block_class_lock); #ifndef CONFIG_SYSFS_DEPRECATED struct kobject *block_depr; @@ -346,8 +348,6 @@ const struct seq_operations partitions_op = { #endif -extern int blk_dev_init(void); - static struct kobject *base_probe(dev_t devt, int *part, void *data) { if (request_module("block-major-%d-%d", MAJOR(devt), MINOR(devt)) > 0) |