diff options
Diffstat (limited to 'drivers/tty/serial/s5pv210.c')
-rw-r--r-- | drivers/tty/serial/s5pv210.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/s5pv210.c b/drivers/tty/serial/s5pv210.c index fb2619f93d84..dd194dc80ee9 100644 --- a/drivers/tty/serial/s5pv210.c +++ b/drivers/tty/serial/s5pv210.c | |||
@@ -30,7 +30,7 @@ static int s5pv210_serial_setsource(struct uart_port *port, | |||
30 | struct s3c2410_uartcfg *cfg = port->dev->platform_data; | 30 | struct s3c2410_uartcfg *cfg = port->dev->platform_data; |
31 | unsigned long ucon = rd_regl(port, S3C2410_UCON); | 31 | unsigned long ucon = rd_regl(port, S3C2410_UCON); |
32 | 32 | ||
33 | if ((cfg->clocks_size) == 1) | 33 | if (cfg->flags & NO_NEED_CHECK_CLKSRC) |
34 | return 0; | 34 | return 0; |
35 | 35 | ||
36 | if (strcmp(clk->name, "pclk") == 0) | 36 | if (strcmp(clk->name, "pclk") == 0) |
@@ -55,7 +55,7 @@ static int s5pv210_serial_getsource(struct uart_port *port, | |||
55 | 55 | ||
56 | clk->divisor = 1; | 56 | clk->divisor = 1; |
57 | 57 | ||
58 | if ((cfg->clocks_size) == 1) | 58 | if (cfg->flags & NO_NEED_CHECK_CLKSRC) |
59 | return 0; | 59 | return 0; |
60 | 60 | ||
61 | switch (ucon & S5PV210_UCON_CLKMASK) { | 61 | switch (ucon & S5PV210_UCON_CLKMASK) { |