summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@osdl.org>2002-09-25 01:53:04 -0700
committerPatrick Mochel <mochel@osdl.org>2002-09-25 01:53:04 -0700
commitabe2e064d36a5ca7e2697f017c3017709572d26a (patch)
tree1fcd57ae9bb41520099a0bd2a584df3dcab8b3ee /include
parentcd585d2fff68c7295e524fb540a91cb4318394dc (diff)
add disk device class
Diffstat (limited to 'include')
-rw-r--r--include/linux/genhd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 33cfbe2f1108..ff63624d7c64 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -109,6 +109,8 @@ static inline void set_capacity(struct gendisk *disk, sector_t size)
disk->capacity = size;
}
+extern struct device_class disk_devclass;
+
#endif /* __KERNEL__ */
#ifdef CONFIG_SOLARIS_X86_PARTITION