Browse Source

make register_disk() static

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 13 years ago
parent
commit
4752bc309b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      block/genhd.c

+ 1 - 1
block/genhd.c

@@ -507,7 +507,7 @@ static int exact_lock(dev_t devt, void *data)
 	return 0;
 }
 
-void register_disk(struct gendisk *disk)
+static void register_disk(struct gendisk *disk)
 {
 	struct device *ddev = disk_to_dev(disk);
 	struct block_device *bdev;