]> err.no Git - linux-2.6/commitdiff
[PATCH] pcmcia: defer ide-cs initialization after other IDE drivers started up
authorDominik Brodowski <linux@dominikbrodowski.net>
Mon, 1 Aug 2005 12:16:55 +0000 (14:16 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 1 Aug 2005 17:03:55 +0000 (10:03 -0700)
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 03747439ac9c1a193059f3078c44af328dc93e90..f1d1ec4e967718946e332c3fb0b43be2b1182def 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);