From 1e4c7b0dabb46eb3a2a15cf5efbd3945b13373a0 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sat, 5 May 2007 23:17:13 +0200 Subject: 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 Existing mkinitrd scripts still have to be adapted, unless they grok module aliases. Signed-off-by: Stefan Richter --- drivers/firewire/fw-ohci.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/firewire/fw-ohci.c') diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 7e1a4e1f7d4..7d91b7e8f02 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c @@ -1926,6 +1926,11 @@ MODULE_AUTHOR("Kristian Hoegsberg "); 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); -- cgit v1.2.3