diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/attribute_container.h | 1 | ||||
| -rw-r--r-- | include/linux/blkdev.h | 1 | ||||
| -rw-r--r-- | include/linux/sysfs.h | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/attribute_container.h b/include/linux/attribute_container.h index 8ff274933948..f5582332af04 100644 --- a/include/linux/attribute_container.h +++ b/include/linux/attribute_container.h | |||
| @@ -17,6 +17,7 @@ struct attribute_container { | |||
| 17 | struct list_head node; | 17 | struct list_head node; |
| 18 | struct klist containers; | 18 | struct klist containers; |
| 19 | struct class *class; | 19 | struct class *class; |
| 20 | struct attribute_group *grp; | ||
| 20 | struct class_device_attribute **attrs; | 21 | struct class_device_attribute **attrs; |
| 21 | int (*match)(struct attribute_container *, struct device *); | 22 | int (*match)(struct attribute_container *, struct device *); |
| 22 | #define ATTRIBUTE_CONTAINER_NO_CLASSDEVS 0x01 | 23 | #define ATTRIBUTE_CONTAINER_NO_CLASSDEVS 0x01 |
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 40ee1706caa3..bd20a4e8663a 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -765,6 +765,7 @@ extern void blk_queue_segment_boundary(struct request_queue *, unsigned long); | |||
| 765 | extern void blk_queue_prep_rq(struct request_queue *, prep_rq_fn *pfn); | 765 | extern void blk_queue_prep_rq(struct request_queue *, prep_rq_fn *pfn); |
| 766 | extern void blk_queue_merge_bvec(struct request_queue *, merge_bvec_fn *); | 766 | extern void blk_queue_merge_bvec(struct request_queue *, merge_bvec_fn *); |
| 767 | extern void blk_queue_dma_alignment(struct request_queue *, int); | 767 | extern void blk_queue_dma_alignment(struct request_queue *, int); |
| 768 | extern void blk_queue_update_dma_alignment(struct request_queue *, int); | ||
| 768 | extern void blk_queue_softirq_done(struct request_queue *, softirq_done_fn *); | 769 | extern void blk_queue_softirq_done(struct request_queue *, softirq_done_fn *); |
| 769 | extern struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bdev); | 770 | extern struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bdev); |
| 770 | extern int blk_queue_ordered(struct request_queue *, unsigned, prepare_flush_fn *); | 771 | extern int blk_queue_ordered(struct request_queue *, unsigned, prepare_flush_fn *); |
diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index 149ab62329e2..802710438a9e 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h | |||
| @@ -32,6 +32,8 @@ struct attribute { | |||
| 32 | 32 | ||
| 33 | struct attribute_group { | 33 | struct attribute_group { |
| 34 | const char *name; | 34 | const char *name; |
| 35 | int (*is_visible)(struct kobject *, | ||
| 36 | struct attribute *, int); | ||
| 35 | struct attribute **attrs; | 37 | struct attribute **attrs; |
| 36 | }; | 38 | }; |
| 37 | 39 | ||
