Commit d175d969 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] genhd: rename device_init

Rename device_init to make it more unique.  Useful when looking through
debug initcall bootlogs.  While I'm in the area, also make it static.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent dac8853b
...@@ -300,7 +300,7 @@ static struct kobject *base_probe(dev_t dev, int *part, void *data) ...@@ -300,7 +300,7 @@ static struct kobject *base_probe(dev_t dev, int *part, void *data)
return NULL; return NULL;
} }
int __init device_init(void) static int __init genhd_device_init(void)
{ {
bdev_map = kobj_map_init(base_probe, &block_subsys); bdev_map = kobj_map_init(base_probe, &block_subsys);
blk_dev_init(); blk_dev_init();
...@@ -308,7 +308,7 @@ int __init device_init(void) ...@@ -308,7 +308,7 @@ int __init device_init(void)
return 0; return 0;
} }
subsys_initcall(device_init); subsys_initcall(genhd_device_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment