aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/Makefile1
-rw-r--r--drivers/ide/legacy/hd.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/Makefile b/drivers/ide/Makefile
index 8605536ea18..39e99ace5cd 100644
--- a/drivers/ide/Makefile
+++ b/drivers/ide/Makefile
@@ -62,7 +62,6 @@ endif
obj-$(CONFIG_BLK_DEV_IDE) += arm/ mips/
-# old hd driver must be last
ifeq ($(CONFIG_BLK_DEV_HD), y)
hd-core-y += legacy/hd.o
obj-y += hd-core.o
diff --git a/drivers/ide/legacy/hd.c b/drivers/ide/legacy/hd.c
index abdedf56643..00b695652b2 100644
--- a/drivers/ide/legacy/hd.c
+++ b/drivers/ide/legacy/hd.c
@@ -812,4 +812,4 @@ static int __init parse_hd_setup(char *line)
}
__setup("hd=", parse_hd_setup);
-module_init(hd_init);
+late_initcall(hd_init);