Commit e9da59fc authored by James Bottomley's avatar James Bottomley Committed by Linus Torvalds

[PATCH] fix character subsystem initialisation

chr_dev_init() should be a subsys_initcall(), since it needs to
initialize before any drivers that use the character device
infrastructure.
parent 4793785f
......@@ -713,4 +713,4 @@ static int __init chr_dev_init(void)
return 0;
}
__initcall(chr_dev_init);
subsys_initcall(chr_dev_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