summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm720t/serial_netarm.c1
-rw-r--r--cpu/s3c44b0/cpu.c2
-rw-r--r--cpu/s3c44b0/serial.c6
3 files changed, 5 insertions, 4 deletions
diff --git a/cpu/arm720t/serial_netarm.c b/cpu/arm720t/serial_netarm.c
index 56cdb0a..5b41949 100644
--- a/cpu/arm720t/serial_netarm.c
+++ b/cpu/arm720t/serial_netarm.c
@@ -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;
diff --git a/cpu/s3c44b0/cpu.c b/cpu/s3c44b0/cpu.c
index 1a8a17d..2d5e2e8 100644
--- a/cpu/s3c44b0/cpu.c
+++ b/cpu/s3c44b0/cpu.c
@@ -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;
}
diff --git a/cpu/s3c44b0/serial.c b/cpu/s3c44b0/serial.c
index 61ccfc7..70b4ee8 100644
--- a/cpu/s3c44b0/serial.c
+++ b/cpu/s3c44b0/serial.c
@@ -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();