diff options
author | Ben Dooks <ben-linux@fluff.org> | 2005-09-25 18:02:49 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-09-25 18:02:49 -0400 |
commit | f04da5def8c460b1b52d3142da827ab01efa3a15 (patch) | |
tree | 6d4e7dbf697eacb3fbcd9fc79e6a470c42677243 /drivers/serial | |
parent | ef6bd6eb90ad72ee8ee7ba8b271f27102e9a90c1 (diff) |
[ARM] 2933/1: S3C2410 - fix serial port warnings
Patch from Ben Dooks
Fix the following warnings produced from
drivers/char/s3c2410.c.
drivers/serial/s3c2410.c:757: warning: 'clk' may be used uninitialized
drivers/serial/s3c2410.c:756: warning: 'clksrc' may be used uninitialized
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/s3c2410.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index c361c6fb0809..1195e6a0901a 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c | |||
@@ -753,8 +753,8 @@ static void s3c24xx_serial_set_termios(struct uart_port *port, | |||
753 | { | 753 | { |
754 | struct s3c2410_uartcfg *cfg = s3c24xx_port_to_cfg(port); | 754 | struct s3c2410_uartcfg *cfg = s3c24xx_port_to_cfg(port); |
755 | struct s3c24xx_uart_port *ourport = to_ourport(port); | 755 | struct s3c24xx_uart_port *ourport = to_ourport(port); |
756 | struct s3c24xx_uart_clksrc *clksrc; | 756 | struct s3c24xx_uart_clksrc *clksrc = NULL; |
757 | struct clk *clk; | 757 | struct clk *clk = NULL; |
758 | unsigned long flags; | 758 | unsigned long flags; |
759 | unsigned int baud, quot; | 759 | unsigned int baud, quot; |
760 | unsigned int ulcon; | 760 | unsigned int ulcon; |