summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-09-16 00:21:54 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:54:05 -0500
commit4752bc309b7604d507c973c7b7678ac2ce10a058 (patch)
tree09e2a259b12ed2f305754af8d766e0f62ecb8947 /block
parentdabe0dc194d5d56d379a8994fff47392744b6491 (diff)
downloadlinux-4752bc309b7604d507c973c7b7678ac2ce10a058.tar.gz
linux-4752bc309b7604d507c973c7b7678ac2ce10a058.tar.bz2
linux-4752bc309b7604d507c973c7b7678ac2ce10a058.zip
make register_disk() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'block')
-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)
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;