summaryrefslogtreecommitdiffstats
path: root/drivers/ide/legacy
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-16 20:33:47 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-16 20:33:47 +0200
commit01c22bfc30a3f40fed08cfd2779348edcb6c5e53 (patch)
treeca0ecf04bd739de03f9274c24325b46f7eced9f3 /drivers/ide/legacy
parentffa793f9bb5b563edb4cacc43a4d6677eec0e36b (diff)
downloadlinux-stable-01c22bfc30a3f40fed08cfd2779348edcb6c5e53.tar.gz
linux-stable-01c22bfc30a3f40fed08cfd2779348edcb6c5e53.tar.bz2
linux-stable-01c22bfc30a3f40fed08cfd2779348edcb6c5e53.zip
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/legacy')
-rw-r--r--drivers/ide/legacy/hd.c2
1 files changed, 1 insertions, 1 deletions
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)
}
__setup("hd=", parse_hd_setup);
-module_init(hd_init);
+late_initcall(hd_init);