ieee1394: ohci1394: fix initialization if built non-modular

Initialization of ohci1394 was broken according to one reporter if the
driver was statically linked, i.e. not built as loadable module. Dmesg:

PCI: Device 0000:02:07.0 not available because of resource collisions
ohci1394: Failed to enable OHCI hardware.

This was reported for a Toshiba Satellite 5100-503. The cause is commit
8df4083c5291b3647e0381d3c69ab2196f5dd3b7 in Linux 2.6.19-rc1 which only
served purposes of early remote debugging via FireWire. This
functionality is better provided by the currently out-of-tree driver
ohci1394_earlyinit. Reversal of the commit was OK'd by Andi Kleen.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

+2 -4
+1 -1
drivers/ieee1394/ieee1394_core.c
··· 1273 1273 unregister_chrdev_region(IEEE1394_CORE_DEV, 256); 1274 1274 } 1275 1275 1276 - fs_initcall(ieee1394_init); /* same as ohci1394 */ 1276 + module_init(ieee1394_init); 1277 1277 module_exit(ieee1394_cleanup); 1278 1278 1279 1279 /* Exported symbols */
+1 -3
drivers/ieee1394/ohci1394.c
··· 3537 3537 return pci_register_driver(&ohci1394_pci_driver); 3538 3538 } 3539 3539 3540 - /* Register before most other device drivers. 3541 - * Useful for remote debugging via physical DMA, e.g. using firescope. */ 3542 - fs_initcall(ohci1394_init); 3540 + module_init(ohci1394_init); 3543 3541 module_exit(ohci1394_cleanup);