提交 7813ca9b 编写于 作者: G Gerlando Falauto 提交者: Wolfgang Denk

serial: constify serial_assign()

Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com>
Acked-by: NMike Frysinger <vapier@gentoo.org>
上级 a6e6f7f4
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册