diff options
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/genhd.c b/block/genhd.c index 02e9fca80825..bf443a71b93e 100644 --- a/block/genhd.c +++ b/block/genhd.c | |||
@@ -507,7 +507,7 @@ static int exact_lock(dev_t devt, void *data) | |||
507 | return 0; | 507 | return 0; |
508 | } | 508 | } |
509 | 509 | ||
510 | void register_disk(struct gendisk *disk) | 510 | static void register_disk(struct gendisk *disk) |
511 | { | 511 | { |
512 | struct device *ddev = disk_to_dev(disk); | 512 | struct device *ddev = disk_to_dev(disk); |
513 | struct block_device *bdev; | 513 | struct block_device *bdev; |