forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firewire: Provide module aliase for backwards compatibility.
This patch loads fw-sbp2 if sbp2 is still in the config file. So one can go back and forth between releases without worry about the root filesystem drivers. Signed-off-by: Kristian Hoegsberg <[email protected]> Existing mkinitrd scripts still have to be adapted, unless they grok module aliases. Signed-off-by: Stefan Richter <[email protected]>
- Loading branch information
1 parent
58e313b
commit 1e4c7b0
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1926,6 +1926,11 @@ MODULE_AUTHOR("Kristian Hoegsberg <[email protected]>"); | |
MODULE_DESCRIPTION("Driver for PCI OHCI IEEE1394 controllers"); | ||
MODULE_LICENSE("GPL"); | ||
|
||
/* Provide a module alias so root-on-sbp2 initrds don't break. */ | ||
#ifndef CONFIG_IEEE1394_OHCI1394_MODULE | ||
MODULE_ALIAS("ohci1394"); | ||
#endif | ||
|
||
static int __init fw_ohci_init(void) | ||
{ | ||
return pci_register_driver(&fw_ohci_pci_driver); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters