diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/Makefile | 1 | ||||
-rw-r--r-- | drivers/ide/legacy/hd.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/Makefile b/drivers/ide/Makefile index 8605536ea18f..39e99ace5cd3 100644 --- a/drivers/ide/Makefile +++ b/drivers/ide/Makefile | |||
@@ -62,7 +62,6 @@ endif | |||
62 | 62 | ||
63 | obj-$(CONFIG_BLK_DEV_IDE) += arm/ mips/ | 63 | obj-$(CONFIG_BLK_DEV_IDE) += arm/ mips/ |
64 | 64 | ||
65 | # old hd driver must be last | ||
66 | ifeq ($(CONFIG_BLK_DEV_HD), y) | 65 | ifeq ($(CONFIG_BLK_DEV_HD), y) |
67 | hd-core-y += legacy/hd.o | 66 | hd-core-y += legacy/hd.o |
68 | obj-y += hd-core.o | 67 | obj-y += hd-core.o |
diff --git a/drivers/ide/legacy/hd.c b/drivers/ide/legacy/hd.c index abdedf56643e..00b695652b2a 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) | |||
812 | } | 812 | } |
813 | __setup("hd=", parse_hd_setup); | 813 | __setup("hd=", parse_hd_setup); |
814 | 814 | ||
815 | module_init(hd_init); | 815 | late_initcall(hd_init); |