aboutsummaryrefslogtreecommitdiffstats
path: root/block/genhd.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/genhd.c')
-rw-r--r--block/genhd.c2
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
510void register_disk(struct gendisk *disk) 510static 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;