summaryrefslogtreecommitdiffstats
path: root/include/linux/genhd.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-04 11:23:50 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-03-04 11:28:36 +0100
commita0db701a6bf767320e4471bd55e70702d230f6fb (patch)
treedee103b4f56be01e908ee39edada7c26450dcc8e /include/linux/genhd.h
parentbec419404afe8b0d60000118ca90ada4c69a3a6d (diff)
downloadop-kernel-dev-a0db701a6bf767320e4471bd55e70702d230f6fb.zip
op-kernel-dev-a0db701a6bf767320e4471bd55e70702d230f6fb.tar.gz
block/genhd.c: proper externs
This patch adds proper externs for two structs in include/linux/genhd.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/genhd.h')
-rw-r--r--include/linux/genhd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index cd048e3..32c2ac4 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -22,6 +22,9 @@ extern struct device_type part_type;
extern struct kobject *block_depr;
extern struct class block_class;
+extern const struct seq_operations partitions_op;
+extern const struct seq_operations diskstats_op;
+
enum {
/* These three have identical behaviour; use the second one if DOS FDISK gets
confused about extended/logical partitions starting past cylinder 1023. */
OpenPOWER on IntegriCloud