diff options
author | Andi Kleen <ak@suse.de> | 2006-07-27 15:54:00 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2006-09-17 13:29:34 -0400 |
commit | 8df4083c5291b3647e0381d3c69ab2196f5dd3b7 (patch) | |
tree | 3120e8d59bd321e2871998b51dc756a56324877c /drivers/ieee1394/ohci1394.c | |
parent | e8398bb737ceadff8825aa98cb9f4a5e96857546 (diff) |
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/ohci1394.c')
-rw-r--r-- | drivers/ieee1394/ohci1394.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ieee1394/ohci1394.c b/drivers/ieee1394/ohci1394.c index baa090d08d20..330dcf7c699d 100644 --- a/drivers/ieee1394/ohci1394.c +++ b/drivers/ieee1394/ohci1394.c | |||
@@ -3719,5 +3719,7 @@ static int __init ohci1394_init(void) | |||
3719 | return pci_register_driver(&ohci1394_pci_driver); | 3719 | return pci_register_driver(&ohci1394_pci_driver); |
3720 | } | 3720 | } |
3721 | 3721 | ||
3722 | module_init(ohci1394_init); | 3722 | /* Register before most other device drivers. |
3723 | * Useful for remote debugging via physical DMA, e.g. using firescope. */ | ||
3724 | fs_initcall(ohci1394_init); | ||
3723 | module_exit(ohci1394_cleanup); | 3725 | module_exit(ohci1394_cleanup); |