From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] sh: fix i2c init order on ap325rxa V2
Date: Fri, 07 Aug 2009 03:52:18 +0000 [thread overview]
Message-ID: <20090807035218.6009.65147.sendpatchset@rx1.opensource.se> (raw)
In-Reply-To: <20090806141918.3609.29170.sendpatchset@rx1.opensource.se>
From: Magnus Damm <damm@igel.co.jp>
Convert the AP325RXA board code to register devices at
arch_initcall() time instead of device_initcall(). This
fix unbreaks pcf8563 RTC driver support.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
Suitable for 2.6.31-rc.
arch/sh/boards/board-ap325rxa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 0001/arch/sh/boards/board-ap325rxa.c
+++ work/arch/sh/boards/board-ap325rxa.c 2009-08-07 12:35:22.000000000 +0900
@@ -547,7 +547,7 @@ static int __init ap325rxa_devices_setup
return platform_add_devices(ap325rxa_devices,
ARRAY_SIZE(ap325rxa_devices));
}
-device_initcall(ap325rxa_devices_setup);
+arch_initcall(ap325rxa_devices_setup);
/* Return the board specific boot mode pin configuration */
static int ap325rxa_mode_pins(void)
prev parent reply other threads:[~2009-08-07 3:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-06 14:19 [PATCH] sh: fix i2c init order on ap325rxa Magnus Damm
2009-08-07 3:52 ` Magnus Damm [this message]
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=20090807035218.6009.65147.sendpatchset@rx1.opensource.se \
--to=magnus.damm@gmail.com \
--cc=linux-sh@vger.kernel.org \
/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