diff options
author | Linus Torvalds <[email protected]> | 2009-02-26 10:32:31 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-02-26 10:32:31 -0800 |
commit | 86883c2736e9697a38080a31c2794fa1316fd68f (patch) | |
tree | 2825a5a73cbb025d74aabd1be530e43c03e41525 | |
parent | 169d418b127b98a3e464e9c4b807ad083760f98c (diff) |
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 <[email protected]>
Cc: Stefan Richter <[email protected]>
Cc: Henrik Kurelid <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Ben Backx <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | drivers/ieee1394/ieee1394_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/ieee1394_core.c b/drivers/ieee1394/ieee1394_core.c index 1028e725a27e..872338003721 100644 --- a/drivers/ieee1394/ieee1394_core.c +++ b/drivers/ieee1394/ieee1394_core.c @@ -1275,7 +1275,7 @@ static void __exit ieee1394_cleanup(void) unregister_chrdev_region(IEEE1394_CORE_DEV, 256); } -module_init(ieee1394_init); +fs_initcall(ieee1394_init); module_exit(ieee1394_cleanup); /* Exported symbols */ |