提交 01c22bfc 编写于 作者: A Adrian Bunk 提交者: Bartlomiej Zolnierkiewicz

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: NAdrian Bunk <bunk@kernel.org>
Cc: rmk@arm.linux.org.uk
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 ffa793f9
......@@ -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
......
......@@ -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);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册