Skip to content
Snippets Groups Projects
Commit 7813ca9b authored by Gerlando Falauto's avatar Gerlando Falauto Committed by Wolfgang Denk
Browse files

serial: constify serial_assign()

parent a6e6f7f4
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment