serial: constify serial_assign()

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Gerlando Falauto 2011-11-18 06:49:12 +00:00 committed by Wolfgang Denk
parent a6e6f7f4d0
commit 7813ca9b66
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ void serial_stdio_init(void)
}
}
int serial_assign(char *name)
int serial_assign(const char *name)
{
struct serial_device *s;

View File

@ -93,7 +93,7 @@ extern struct serial_device bfin_serial3_device;
extern void serial_register(struct serial_device *);
extern void serial_initialize(void);
extern void serial_stdio_init(void);
extern int serial_assign(char *name);
extern int serial_assign(const char *name);
extern void serial_reinit_all(void);
/* For usbtty */