From patchwork Fri Aug 7 03:52:18 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 39760 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n773ub9Z009236 for ; Fri, 7 Aug 2009 03:56:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757035AbZHGD4f (ORCPT ); Thu, 6 Aug 2009 23:56:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757036AbZHGD4f (ORCPT ); Thu, 6 Aug 2009 23:56:35 -0400 Received: from rv-out-0506.google.com ([209.85.198.224]:37979 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757033AbZHGD4f (ORCPT ); Thu, 6 Aug 2009 23:56:35 -0400 Received: by rv-out-0506.google.com with SMTP id f6so340350rvb.1 for ; Thu, 06 Aug 2009 20:56:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=xzwB2MKN0wjSEWdyf/45s0o+HB+59aTmhQ4uMz7UwrM=; b=kzKqjR4fXv0QFelMknLRBe5EjhumOovhNRoql34O0gwm8phI651BxCv0FUtSVM8CM5 bs92QOHDpJsOy/xklBC6x0tXJKPQ/eK6mqBhR3kfVVBu2EmIYCthwwYnjb7vHsjY6hk1 Hqe4yIpjleyWktP645qsDGsXUQfWxoUiHy9e0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=FUstSADwnD0Wt1HeznFE6JH8QR3mHBqWgDN7igcrNeVu78TbvQr3K+VCLMdijdGcxZ 6Eem+ycUoM7HyeTCJXVw/sLk6xY1knkDVq5ddkh89z0nOg2QqTairsYHnLG/DKgNegC8 McM7JtEPpC3gfrYhbzjR88MjSzPQ7LOfEHtAY= Received: by 10.140.187.10 with SMTP id k10mr295828rvf.23.1249617395907; Thu, 06 Aug 2009 20:56:35 -0700 (PDT) Received: from rx1.opensource.se (mailhost.igel.co.jp [219.106.231.130]) by mx.google.com with ESMTPS id l31sm3470389rvb.14.2009.08.06.20.56.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 Aug 2009 20:56:34 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Fri, 07 Aug 2009 12:52:18 +0900 Message-Id: <20090807035218.6009.65147.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: fix i2c init order on ap325rxa V2 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm 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 --- Suitable for 2.6.31-rc. arch/sh/boards/board-ap325rxa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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)