diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-16 14:33:47 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 14:33:47 -0400 |
commit | 01c22bfc30a3f40fed08cfd2779348edcb6c5e53 (patch) | |
tree | ca0ecf04bd739de03f9274c24325b46f7eced9f3 /drivers/ide/Makefile | |
parent | ffa793f9bb5b563edb4cacc43a4d6677eec0e36b (diff) |
ide/legacy/hd.c: use late_initcall()
Since the later move to drivers/block/ will break the link order,
the module_init() has to become a late_initcall().
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: rmk@arm.linux.org.uk
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/Makefile')
-rw-r--r-- | drivers/ide/Makefile | 1 |
1 files changed, 0 insertions, 1 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 |