diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/device.h | 1 | ||||
| -rw-r--r-- | include/linux/genhd.h | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 8c23e3dfe3ac..15e9fa3ad3af 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
| @@ -183,7 +183,6 @@ struct class { | |||
| 183 | struct module *owner; | 183 | struct module *owner; |
| 184 | 184 | ||
| 185 | struct kset subsys; | 185 | struct kset subsys; |
| 186 | struct list_head children; | ||
| 187 | struct list_head devices; | 186 | struct list_head devices; |
| 188 | struct list_head interfaces; | 187 | struct list_head interfaces; |
| 189 | struct kset class_dirs; | 188 | struct kset class_dirs; |
diff --git a/include/linux/genhd.h b/include/linux/genhd.h index e9874e7fcdf9..ae7aec3cabee 100644 --- a/include/linux/genhd.h +++ b/include/linux/genhd.h | |||
| @@ -525,7 +525,7 @@ struct unixware_disklabel { | |||
| 525 | #define ADDPART_FLAG_RAID 1 | 525 | #define ADDPART_FLAG_RAID 1 |
| 526 | #define ADDPART_FLAG_WHOLEDISK 2 | 526 | #define ADDPART_FLAG_WHOLEDISK 2 |
| 527 | 527 | ||
| 528 | extern dev_t blk_lookup_devt(const char *name); | 528 | extern dev_t blk_lookup_devt(const char *name, int part); |
| 529 | extern char *disk_name (struct gendisk *hd, int part, char *buf); | 529 | extern char *disk_name (struct gendisk *hd, int part, char *buf); |
| 530 | 530 | ||
| 531 | extern int rescan_partitions(struct gendisk *disk, struct block_device *bdev); | 531 | extern int rescan_partitions(struct gendisk *disk, struct block_device *bdev); |
| @@ -553,7 +553,7 @@ static inline struct block_device *bdget_disk(struct gendisk *disk, int index) | |||
| 553 | 553 | ||
| 554 | static inline void printk_all_partitions(void) { } | 554 | static inline void printk_all_partitions(void) { } |
| 555 | 555 | ||
| 556 | static inline dev_t blk_lookup_devt(const char *name) | 556 | static inline dev_t blk_lookup_devt(const char *name, int part) |
| 557 | { | 557 | { |
| 558 | dev_t devt = MKDEV(0, 0); | 558 | dev_t devt = MKDEV(0, 0); |
| 559 | return devt; | 559 | return devt; |
