Re: [PATCH 9/9] serial/arc: constify uart_ops structures

2016-09-01 Thread Vineet Gupta
On 09/01/2016 10:51 AM, Julia Lawall wrote: > Check for uart_ops structures that are only stored in the ops field of a > uart_port structure. This field is declared const, so uart_ops structures > that have this property can be declared as const also. > > The semantic patch that makes this change

[PATCH 9/9] serial/arc: constify uart_ops structures

2016-09-01 Thread Julia Lawall
Check for uart_ops structures that are only stored in the ops field of a uart_port structure. This field is declared const, so uart_ops structures that have this property can be declared as const also. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @r d