mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
Make ieee1394_init a fs-initcall
It needs to happen before any firewire driver actually registers itself, and that was previously handled by having the Makefile list the core ieee1394 files before the drivers. But now there are firewire drivers in drivers/media, and the Makefile games aren't enough. So just make ieee1394_init happen earlier in the init sequence, the way all other bus layers already do. Reported-and-tested-by: Ingo Molnar <mingo@elte.hu> Cc: Stefan Richter <stefanr@s5r6.in-berlin.de> Cc: Henrik Kurelid <henrik@kurelid.se> Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: Ben Backx <ben@bbackx.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
169d418b12
commit
86883c2736
1 changed files with 1 additions and 1 deletions
|
@ -1275,7 +1275,7 @@ static void __exit ieee1394_cleanup(void)
|
||||||
unregister_chrdev_region(IEEE1394_CORE_DEV, 256);
|
unregister_chrdev_region(IEEE1394_CORE_DEV, 256);
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(ieee1394_init);
|
fs_initcall(ieee1394_init);
|
||||||
module_exit(ieee1394_cleanup);
|
module_exit(ieee1394_cleanup);
|
||||||
|
|
||||||
/* Exported symbols */
|
/* Exported symbols */
|
||||||
|
|
Loading…
Reference in a new issue