commit | afae8aa4e59fcecc540276b7ba2f1923d0b5585c | [log] [tgz] |
---|---|---|
author | Minkyu Kang <mk7.kang@samsung.com> | Mon Jan 24 14:43:25 2011 +0900 |
committer | Albert Aribaud <albert.aribaud@free.fr> | Wed Feb 02 00:54:45 2011 +0100 |
tree | 9b45edee7df0a833b302e6bca5f7c64cd4e325d0 | |
parent | c78522aeb2b3ff00c18d585cbb20f73f4eadc837 [diff] [blame] |
S5P: serial: Use the inline function instead of static value Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
diff --git a/drivers/serial/serial_s5p.c b/drivers/serial/serial_s5p.c index 9c1cbf4..f1ffa29 100644 --- a/drivers/serial/serial_s5p.c +++ b/drivers/serial/serial_s5p.c
@@ -72,7 +72,7 @@ writel(val / 16 - 1, &uart->ubrdiv); - if (use_divslot) + if (s5p_uart_divslot()) writew(udivslot[val % 16], &uart->rest.slot); else writeb(val % 16, &uart->rest.value);