diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2011-01-24 14:43:25 +0900 |
---|---|---|
committer | Albert Aribaud <albert.aribaud@free.fr> | 2011-02-02 00:54:45 +0100 |
commit | e0617c621def4bea5c6013dbc698ecf4f75d97c1 (patch) | |
tree | 9b45edee7df0a833b302e6bca5f7c64cd4e325d0 /drivers | |
parent | 5eb522a68c3573419f42e321dccf4b01b584dbe8 (diff) | |
download | u-boot-imx-e0617c621def4bea5c6013dbc698ecf4f75d97c1.zip u-boot-imx-e0617c621def4bea5c6013dbc698ecf4f75d97c1.tar.gz u-boot-imx-e0617c621def4bea5c6013dbc698ecf4f75d97c1.tar.bz2 |
S5P: serial: Use the inline function instead of static value
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/serial_s5p.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ void serial_setbrg_dev(const int dev_index) 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); |