diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-09-16 00:21:54 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:05 -0500 |
commit | 4752bc309b7604d507c973c7b7678ac2ce10a058 (patch) | |
tree | 09e2a259b12ed2f305754af8d766e0f62ecb8947 /block/genhd.c | |
parent | dabe0dc194d5d56d379a8994fff47392744b6491 (diff) |
make register_disk() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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; |