Re: [PATCH] tty: serial: Add const to struct uart_ops declarations

2015-04-06 Thread Stefan Agner
Hi Joe, See comment below... On 2015-04-04 19:47, Joe Perches wrote: > These structs can be const, so make them const. > > Signed-off-by: Joe Perches > --- > > Done with: > sed -r -i -e 's/\bstruct\s+uart_ops\s+(\w+)\s*=\s*/const struct > uart_ops \1 = /g' drivers/tty/serial/*.c > > Compiled

[PATCH] tty: serial: Add const to struct uart_ops declarations

2015-04-04 Thread Joe Perches
These structs can be const, so make them const. Signed-off-by: Joe Perches --- Done with: sed -r -i -e 's/\bstruct\s+uart_ops\s+(\w+)\s*=\s*/const struct uart_ops \1 = /g' drivers/tty/serial/*.c Compiled x86 only, not cross-compiled. Untested. drivers/tty/serial/21285.c | 2