Skip to content

Commit

Permalink
make register_disk() static
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent dabe0dc commit 4752bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/genhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4752bc3

Please sign in to comment.