summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_s5pc1xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial_s5pc1xx.c')
-rw-r--r--drivers/serial/serial_s5pc1xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/serial_s5pc1xx.c b/drivers/serial/serial_s5pc1xx.c
index 64c1dcc8ff..68c06a9190 100644
--- a/drivers/serial/serial_s5pc1xx.c
+++ b/drivers/serial/serial_s5pc1xx.c
@@ -74,7 +74,7 @@ void serial_setbrg_dev(const int dev_index)
val = pclk / baudrate;
writel(val / 16 - 1, &uart->ubrdiv);
- writel(udivslot[val % 16], &uart->udivslot);
+ writew(udivslot[val % 16], &uart->udivslot);
}
/*