summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2005-08-01 14:16:55 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-01 10:03:55 -0700
commit2b8d4669376332a6819e21994a78ecd5502d3ebc (patch)
tree05d172c75b940b119ff0a32744558ea88327ff8a /drivers/ide
parentb9c55d29e9fced1eb1b4c252b2efd4b55a0c3c7f (diff)
downloadop-kernel-dev-2b8d4669376332a6819e21994a78ecd5502d3ebc.zip
op-kernel-dev-2b8d4669376332a6819e21994a78ecd5502d3ebc.tar.gz
[PATCH] pcmcia: defer ide-cs initialization after other IDE drivers started up
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>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/legacy/ide-cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/ide-cs.c b/drivers/ide/legacy/ide-cs.c
index 0374743..f1d1ec4 100644
--- a/drivers/ide/legacy/ide-cs.c
+++ b/drivers/ide/legacy/ide-cs.c
@@ -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);
OpenPOWER on IntegriCloud