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