From: Adrian Bunk <bunk@kernel.org>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
rmk@arm.linux.org.uk, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: [2/5] ide/legacy/hd.c: use late_initcall()
Date: Wed, 25 Jun 2008 00:54:21 +0300 [thread overview]
Message-ID: <20080624215421.GD18252@cs181140183.pp.htv.fi> (raw)
In-Reply-To: <200806221521.33506.bzolnier@gmail.com>
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>
---
drivers/ide/Makefile | 1 -
drivers/ide/legacy/hd.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
14c4f831bae87b5b268fdf53269b6a6a65b2efe9 diff --git a/drivers/ide/Makefile b/drivers/ide/Makefile
index f94b679..4c95e0f 100644
--- a/drivers/ide/Makefile
+++ b/drivers/ide/Makefile
@@ -59,7 +59,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 abdedf5..00b6956 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);
next prev parent reply other threads:[~2008-06-24 21:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-09 22:21 [2.6 patch] fix BLK_DEV_HD_ONLY on ARM dependencies Adrian Bunk
2008-06-10 17:56 ` Bartlomiej Zolnierkiewicz
2008-06-22 10:17 ` Adrian Bunk
2008-06-22 13:21 ` Bartlomiej Zolnierkiewicz
2008-06-24 21:54 ` [0/5] move hd.c to drivers/block/ Adrian Bunk
2008-06-25 20:16 ` Bartlomiej Zolnierkiewicz
2008-06-24 21:54 ` [1/5] remove BLK_DEV_HD_ONLY Adrian Bunk
2008-06-24 21:54 ` Adrian Bunk [this message]
2008-06-24 21:54 ` [3/5] move ide/legacy/hd.c to drivers/block/ Adrian Bunk
2008-06-24 21:55 ` [4/5] update the BLK_DEV_HD help text Adrian Bunk
2008-06-24 22:05 ` [5/5] hd.c: remove the #include <linux/mc146818rtc.h> Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080624215421.GD18252@cs181140183.pp.htv.fi \
--to=bunk@kernel.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bzolnier@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®