make register_disk() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
dabe0dc194
commit
4752bc309b
1 changed files with 1 additions and 1 deletions
|
@ -507,7 +507,7 @@ static int exact_lock(dev_t devt, void *data)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void register_disk(struct gendisk *disk)
|
static void register_disk(struct gendisk *disk)
|
||||||
{
|
{
|
||||||
struct device *ddev = disk_to_dev(disk);
|
struct device *ddev = disk_to_dev(disk);
|
||||||
struct block_device *bdev;
|
struct block_device *bdev;
|
||||||
|
|
Loading…
Reference in a new issue