From 7813ca9b66509b1d6d8e04d49a10f51e9c9632a4 Mon Sep 17 00:00:00 2001 From: Gerlando Falauto Date: Fri, 18 Nov 2011 06:49:12 +0000 Subject: serial: constify serial_assign() Signed-off-by: Gerlando Falauto Acked-by: Mike Frysinger --- common/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/serial.c b/common/serial.c index 03bbb19754a..75cc1bb71c2 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; -- cgit v1.2.3