diff options
author | Olaf Hering <olh@suse.de> | 2007-05-05 17:17:13 -0400 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-05-10 12:24:14 -0400 |
commit | 1e4c7b0dabb46eb3a2a15cf5efbd3945b13373a0 (patch) | |
tree | e20e446acf3312783f71ff0844c342b83cd1de7e /drivers/firewire/fw-ohci.c | |
parent | 58e313b36237ec0a2dc12fd4f7f06d875ce54bd1 (diff) |
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 <krh@redhat.com>
Existing mkinitrd scripts still have to be adapted, unless they grok
module aliases.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-ohci.c')
-rw-r--r-- | drivers/firewire/fw-ohci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 7e1a4e1f7d46..7d91b7e8f028 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c | |||
@@ -1926,6 +1926,11 @@ MODULE_AUTHOR("Kristian Hoegsberg <krh@bitplanet.net>"); | |||
1926 | MODULE_DESCRIPTION("Driver for PCI OHCI IEEE1394 controllers"); | 1926 | MODULE_DESCRIPTION("Driver for PCI OHCI IEEE1394 controllers"); |
1927 | MODULE_LICENSE("GPL"); | 1927 | MODULE_LICENSE("GPL"); |
1928 | 1928 | ||
1929 | /* Provide a module alias so root-on-sbp2 initrds don't break. */ | ||
1930 | #ifndef CONFIG_IEEE1394_OHCI1394_MODULE | ||
1931 | MODULE_ALIAS("ohci1394"); | ||
1932 | #endif | ||
1933 | |||
1929 | static int __init fw_ohci_init(void) | 1934 | static int __init fw_ohci_init(void) |
1930 | { | 1935 | { |
1931 | return pci_register_driver(&fw_ohci_pci_driver); | 1936 | return pci_register_driver(&fw_ohci_pci_driver); |