summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/genhd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/genhd.h b/include/linux/genhd.h
index 7ac93efcf99a..ee2d41d8bd4d 100644
--- a/include/linux/genhd.h
+++ b/include/linux/genhd.h
@@ -67,6 +67,7 @@ struct hd_struct {
#define GENHD_FL_REMOVABLE 1
#define GENHD_FL_DRIVERFS 2
+#define GENHD_FL_DEVFS 4
struct gendisk {
int major; /* major number of driver */
@@ -79,7 +80,7 @@ struct gendisk {
struct gendisk *next;
struct block_device_operations *fops;
- devfs_handle_t *de_arr; /* one per physical disc */
+ devfs_handle_t de;
struct device *driverfs_dev;
int flags;
int number; /* devfs crap */