diff mbox

sh: ms7724: setup.c detailed correction

Message ID uvdfwvklr.wl%morimoto.kuninori@renesas.com (mailing list archive)
State Accepted
Headers show

Commit Message

Kuninori Morimoto Dec. 24, 2009, 8:31 a.m. UTC
None
diff mbox

Patch

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");