mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-27 14:14:37 +08:00
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:
parent
a6e6f7f4d0
commit
7813ca9b66
@ -149,7 +149,7 @@ void serial_stdio_init(void)
|
||||
}
|
||||
}
|
||||
|
||||
int serial_assign(char *name)
|
||||
int serial_assign(const char *name)
|
||||
{
|
||||
struct serial_device *s;
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user