projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dabe0dc
)
make register_disk() static
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 16 Sep 2011 04:21:54 +0000
(
00:21
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:54:05 +0000
(22:54 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
block/genhd.c
patch
|
blob
|
history
diff --git
a/block/genhd.c
b/block/genhd.c
index 02e9fca808256f762e0af44e8a1055c322b51b40..bf443a71b93e00356f44b4c048ad1dc73ce334dc 100644
(file)
--- 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;