summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorGerlando Falauto <gerlando.falauto@keymile.com>2011-11-18 06:49:12 +0000
committerWolfgang Denk <wd@denx.de>2011-12-05 22:48:10 +0100
commit7813ca9b66509b1d6d8e04d49a10f51e9c9632a4 (patch)
treed75aea4f1fd01325518c8f21b2485cd5e087c1b4 /common
parenta6e6f7f4d0cb1925cb00a7833e7abd1d24576e66 (diff)
downloadu-boot-imx-7813ca9b66509b1d6d8e04d49a10f51e9c9632a4.zip
u-boot-imx-7813ca9b66509b1d6d8e04d49a10f51e9c9632a4.tar.gz
u-boot-imx-7813ca9b66509b1d6d8e04d49a10f51e9c9632a4.tar.bz2
serial: constify serial_assign()
Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common')
-rw-r--r--common/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/serial.c b/common/serial.c
index 03bbb19..75cc1bb 100644
--- a/common/serial.c
+++ b/common/serial.c
@@ -149,7 +149,7 @@ void serial_stdio_init(void)
}
}
-int serial_assign(char *name)
+int serial_assign(const char *name)
{
struct serial_device *s;