From patchwork Thu Dec 24 08:31:44 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 69685 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBO8Vnjj005936 for ; Thu, 24 Dec 2009 08:31:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754737AbZLXIbs (ORCPT ); Thu, 24 Dec 2009 03:31:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754823AbZLXIbs (ORCPT ); Thu, 24 Dec 2009 03:31:48 -0500 Received: from mail.renesas.com ([202.234.163.13]:57259 "EHLO mail02.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754737AbZLXIbs (ORCPT ); Thu, 24 Dec 2009 03:31:48 -0500 X-AuditID: ac140385-0000000b000002de-cf-4b3326f125fb Received: from guardian01.idc.renesas.com ([172.20.8.200]) by mail02.idc.renesas.com (sendmail) with ESMTP id nBO8VipI026679; Thu, 24 Dec 2009 17:31:45 +0900 (JST) Received: (from root@localhost) by guardian01.idc.renesas.com with id nBO8Vk7a027449; Thu, 24 Dec 2009 17:31:46 +0900 (JST) Received: from mta02.idc.renesas.com (localhost [127.0.0.1]) by mta02.idc.renesas.com with ESMTP id nBO8VlGC028093; Thu, 24 Dec 2009 17:31:47 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KV5008SJECX0Q@ims05.idc.renesas.com>; Thu, 24 Dec 2009 17:31:45 +0900 (JST) Date: Thu, 24 Dec 2009 17:31:44 +0900 From: Kuninori Morimoto Subject: [PATCH] sh: ms7724: setup.c detailed correction To: Paul Mundt Cc: Linux-SH Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.3 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.02-dev (RINDOU) (2009-06-17 Rev.4261) X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 5d0f70b..63f958c 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c @@ -391,6 +391,7 @@ static struct platform_device sh_eth_device = { }, }; +/* USB0 */ static struct r8a66597_platdata sh7724_usb0_host_data = { .on_chip = 1, }; @@ -423,6 +424,7 @@ static struct platform_device sh7724_usb0_host_device = { }, }; +/* USB1 */ static struct r8a66597_platdata sh7724_usb1_gadget_data = { .on_chip = 1, }; @@ -452,6 +454,7 @@ static struct platform_device sh7724_usb1_gadget_device = { .resource = sh7724_usb1_gadget_resources, }; +/* SDHI0 */ static struct resource sdhi0_cn7_resources[] = { [0] = { .name = "SDHI0", @@ -475,6 +478,7 @@ static struct platform_device sdhi0_cn7_device = { }, }; +/* SDHI1 */ static struct resource sdhi1_cn8_resources[] = { [0] = { .name = "SDHI1", @@ -533,7 +537,7 @@ static int __init sh_eth_is_eeprom_ready(void) while (t--) { if (!ctrl_inw(EEPROM_STAT)) return 1; - cpu_relax(); + udelay(1); } printk(KERN_ERR "ms7724se can not access to eeprom\n");