diff options
author | Andi Kleen <ak@suse.de> | 2006-07-27 19:54:00 (GMT) |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-09-17 17:29:34 (GMT) |
commit | 8df4083c5291b3647e0381d3c69ab2196f5dd3b7 (patch) | |
tree | 3120e8d59bd321e2871998b51dc756a56324877c /drivers/ieee1394/ieee1394_core.c | |
parent | e8398bb737ceadff8825aa98cb9f4a5e96857546 (diff) | |
download | linux-8df4083c5291b3647e0381d3c69ab2196f5dd3b7.tar.xz |
Initialize ieee1394 early when built in
This makes debugging with firescope easier.
Signed-off-by: Andi Kleen <ak@suse.de> (original patch)
Update:
- no need for #ifdef MODULE
- add comment in ieee1394_core, more verbose comment in ohci1394
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (update)
Diffstat (limited to 'drivers/ieee1394/ieee1394_core.c')
-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 e4dd5bc..991c378 100644 --- a/drivers/ieee1394/ieee1394_core.c +++ b/drivers/ieee1394/ieee1394_core.c @@ -1170,7 +1170,7 @@ static void __exit ieee1394_cleanup(void) unregister_chrdev_region(IEEE1394_CORE_DEV, 256); } -module_init(ieee1394_init); +fs_initcall(ieee1394_init); /* same as ohci1394 */ module_exit(ieee1394_cleanup); /* Exported symbols */ |