Code cleanup for GCC-3.3.x compilers
This commit is contained in:
@@ -169,6 +169,7 @@ int serial_getc (void)
|
||||
break;
|
||||
default:
|
||||
/* panic, be never here */
|
||||
break;
|
||||
}
|
||||
|
||||
serial_reg_ch1->status_a |= NETARM_SER_STATA_RX_CLOSED;
|
||||
|
||||
@@ -272,7 +272,7 @@ int i2c_probe(uchar chip)
|
||||
not implemented
|
||||
*/
|
||||
|
||||
printf(__FUNCTION__ " chip %d\n", (int) chip);
|
||||
printf("i2c_probe chip %d\n", (int) chip);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ void serial_setbrg (void)
|
||||
divisor = 121;
|
||||
#else
|
||||
# error CONFIG_S3C44B0_CLOCK_SPEED undefined
|
||||
#endif break;
|
||||
#endif /* break; */
|
||||
|
||||
case 57600:
|
||||
#if CONFIG_S3C44B0_CLOCK_SPEED==66
|
||||
@@ -121,7 +121,7 @@ void serial_setbrg (void)
|
||||
divisor = 80;
|
||||
#else
|
||||
# error CONFIG_S3C44B0_CLOCK_SPEED undefined
|
||||
#endif break;
|
||||
#endif /* break; */
|
||||
|
||||
case 115200:
|
||||
#if CONFIG_S3C44B0_CLOCK_SPEED==66
|
||||
@@ -130,7 +130,7 @@ void serial_setbrg (void)
|
||||
divisor = 40;
|
||||
#else
|
||||
# error CONFIG_S3C44B0_CLOCK_SPEED undefined
|
||||
#endif break;
|
||||
#endif /* break; */
|
||||
}
|
||||
|
||||
serial_flush_output();
|
||||
|
||||
Reference in New Issue
Block a user