summaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/genhd.c b/block/genhd.c
index 4cd3433c99ac..646e1d2507c7 100644
--- a/block/genhd.c
+++ b/block/genhd.c
@@ -358,7 +358,6 @@ static int blk_mangle_minor(int minor)
358/** 358/**
359 * blk_alloc_devt - allocate a dev_t for a partition 359 * blk_alloc_devt - allocate a dev_t for a partition
360 * @part: partition to allocate dev_t for 360 * @part: partition to allocate dev_t for
361 * @gfp_mask: memory allocation flag
362 * @devt: out parameter for resulting dev_t 361 * @devt: out parameter for resulting dev_t
363 * 362 *
364 * Allocate a dev_t for block device. 363 * Allocate a dev_t for block device.
@@ -535,7 +534,7 @@ void unlink_gendisk(struct gendisk *disk)
535/** 534/**
536 * get_gendisk - get partitioning information for a given device 535 * get_gendisk - get partitioning information for a given device
537 * @devt: device to get partitioning information for 536 * @devt: device to get partitioning information for
538 * @part: returned partition index 537 * @partno: returned partition index
539 * 538 *
540 * This function gets the structure containing partitioning 539 * This function gets the structure containing partitioning
541 * information for the given device @devt. 540 * information for the given device @devt.