From e86e5a07485bc0f33103004594a28882c028e7af Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 17 Oct 2004 21:12:06 +0000 Subject: Code cleanup for GCC-3.3.x compilers --- cpu/s3c44b0/cpu.c | 2 +- cpu/s3c44b0/serial.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'cpu/s3c44b0') 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(); -- cgit v1.1