diff options
Diffstat (limited to 'drivers/serial/serial_s3c44b0.c')
-rw-r--r-- | drivers/serial/serial_s3c44b0.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/drivers/serial/serial_s3c44b0.c b/drivers/serial/serial_s3c44b0.c index 8beba1a..a4428e0 100644 --- a/drivers/serial/serial_s3c44b0.c +++ b/drivers/serial/serial_s3c44b0.c @@ -216,7 +216,6 @@ static void s3c44b0_serial_puts(const char *s) } } -#ifdef CONFIG_SERIAL_MULTI static struct serial_device s3c44b0_serial_drv = { .name = "s3c44b0_serial", .start = s3c44b0_serial_init, @@ -237,34 +236,3 @@ __weak struct serial_device *default_serial_console(void) { return &s3c44b0_serial_drv; } -#else -int serial_init(void) -{ - return s3c44b0_serial_init(); -} - -void serial_setbrg(void) -{ - s3c44b0_serial_setbrg(); -} - -void serial_putc(const char c) -{ - s3c44b0_serial_putc(c); -} - -void serial_puts(const char *s) -{ - s3c44b0_serial_puts(s); -} - -int serial_getc(void) -{ - return s3c44b0_serial_getc(); -} - -int serial_tstc(void) -{ - return s3c44b0_serial_tstc(); -} -#endif |