summaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_imx.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-11-27 16:45:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-11-27 21:01:10 +0100
commit159109f5ff2e3b0ee7c44685e2241605ae41b662 (patch)
tree95dc78987bbb7db07928618b90a16570c5302acd /drivers/serial/serial_imx.c
parentabb5c25bbbb73bbb471bc3ad61066fe4720e2c88 (diff)
downloadbarebox-159109f5ff2e3b0ee7c44685e2241605ae41b662.tar.gz
serial i.MX: Make locally used variables static
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/serial/serial_imx.c')
-rw-r--r--drivers/serial/serial_imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/serial_imx.c b/drivers/serial/serial_imx.c
index 694eac2..3f219ae 100644
--- a/drivers/serial/serial_imx.c
+++ b/drivers/serial/serial_imx.c
@@ -141,7 +141,7 @@ struct imx_serial_devtype_data {
u32 onems;
};
-struct imx_serial_devtype_data imx1_data = {
+static struct imx_serial_devtype_data imx1_data = {
.ucr1_val = UCR1_UARTCLKEN,
.ucr3_val = 0,
.ucr4_val = UCR4_CTSTL_32 | UCR4_REF16,
@@ -149,7 +149,7 @@ struct imx_serial_devtype_data imx1_data = {
.onems = 0,
};
-struct imx_serial_devtype_data imx21_data = {
+static struct imx_serial_devtype_data imx21_data = {
.ucr1_val = 0,
.ucr3_val = 0x700 | UCR3_RXDMUXSEL,
.ucr4_val = UCR4_CTSTL_32,