Commit c968c9cc authored by Linus Torvalds's avatar Linus Torvalds

IO scheduler is a subsystem, not a driver. Initialize it as such.

parent 1795fc10
...@@ -583,7 +583,7 @@ static int __init deadline_slab_setup(void) ...@@ -583,7 +583,7 @@ static int __init deadline_slab_setup(void)
return 0; return 0;
} }
module_init(deadline_slab_setup); subsys_init(deadline_slab_setup);
elevator_t iosched_deadline = { elevator_t iosched_deadline = {
.elevator_merge_fn = deadline_merge, .elevator_merge_fn = deadline_merge,
......
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