[PATCH] pcmcia: defer ide-cs initialization after other IDE drivers started up
Dominik Brodowski [Mon, 1 Aug 2005 12:16:55 +0000 (14:16 +0200)]
Avoid registering PCMCIA CF cards before other IDE stuff. This means the risk
of /dev/hd* being re-ordered is lessened. The _sane_ thing to assert any
ordering is to use udev, nameif and so on, of course.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

drivers/ide/legacy/ide-cs.c

index 0374743..f1d1ec4 100644 (file)
@@ -508,5 +508,5 @@ static void __exit exit_ide_cs(void)
        BUG_ON(dev_list != NULL);
 }
 
-module_init(init_ide_cs);
+late_initcall(init_ide_cs);
 module_exit(exit_ide_cs);