It doesn't modify it, and it will be necessary in a subsequent patch.
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
return c & 0x7f;
}
-int __init serial_parse_handle(char *conf)
+int __init serial_parse_handle(const char *conf)
{
int handle, flags = 0;
void serial_endboot(void);
/* Takes a config string and creates a numeric handle on the COM port. */
-int serial_parse_handle(char *conf);
+int serial_parse_handle(const char *conf);
/* Transmit a single character via the specified COM port. */
void serial_putc(int handle, char c);