From patchwork Fri Aug 7 03:51:05 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 39759 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 n773tRHr009123 for ; Fri, 7 Aug 2009 03:55:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757020AbZHGDzX (ORCPT ); Thu, 6 Aug 2009 23:55:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757026AbZHGDzX (ORCPT ); Thu, 6 Aug 2009 23:55:23 -0400 Received: from rv-out-0506.google.com ([209.85.198.237]:37949 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756995AbZHGDzW (ORCPT ); Thu, 6 Aug 2009 23:55:22 -0400 Received: by rv-out-0506.google.com with SMTP id f6so340130rvb.1 for ; Thu, 06 Aug 2009 20:55:23 -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=+rKMSZtOYtGm7tgLF+LRR5PYlxOUFznDc0Fd40tiuA8=; b=dzSZBhnVkjAuPCYnuJzeQ6w7YCJ1+HYUbteaX+s6Pty+Fn3ax+PzfJZvCsaEgmOYcW UYqPJN/b8itEsUGGFZOU2R7/02L3Kqb5MwGD2I0Nm77u+hfBlIcsFtPyjSVBfaVZLYKK MTeOzG4SnIJW189+odTdcZ10Ea8n2AIUrzz0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=xvKk6ewBPLUiYtRiASaGtb7PfAagHeqVhRkJR6sxjWZkS5Y81LWIc8UD/p3/Umolwo 0QTIfpT9k4zvC8E+EiRcG8pGPsWwZDyesY6qOtdee1qPx9rBDMNnQsdsQ2gybKJ0YTb3 7jppLLbC622yEDirmzB+sIwJuw5z1P+bP83Sk= Received: by 10.140.207.2 with SMTP id e2mr297892rvg.58.1249617323157; Thu, 06 Aug 2009 20:55:23 -0700 (PDT) Received: from rx1.opensource.se (mailhost.igel.co.jp [219.106.231.130]) by mx.google.com with ESMTPS id k37sm867971rvb.8.2009.08.06.20.55.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 06 Aug 2009 20:55:22 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Fri, 07 Aug 2009 12:51:05 +0900 Message-Id: <20090807035105.5997.74189.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: fix i2c init order on Migo-R 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 Migo-R board code to register devices at arch_initcall() time instead of __initcall(). This fix unbreaks migor_ts touch screen driver support. Signed-off-by: Magnus Damm --- Suitable for 2.6.31-rc. arch/sh/boards/mach-migor/setup.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/mach-migor/setup.c +++ work/arch/sh/boards/mach-migor/setup.c 2009-08-07 12:09:28.000000000 +0900 @@ -608,7 +608,7 @@ static int __init migor_devices_setup(vo return platform_add_devices(migor_devices, ARRAY_SIZE(migor_devices)); } -__initcall(migor_devices_setup); +arch_initcall(migor_devices_setup); /* Return the board specific boot mode pin configuration */ static int migor_mode_pins(void)