Re: [PATCH] Staging: greybus: uart: constify tty_port_operations structure

2016-10-15 Thread David Lin
On Sat, Oct 15, 2016 at 2:23 AM, Johan Hovold wrote: > > [ +CC: staging list (for real this time) ] > > On Sat, Oct 15, 2016 at 12:28:01PM +0530, Bhumika Goyal wrote: > > Declare tty_port_operations structure as const as it is only stored in > > the ops field of a tty_port structure which is a fie

Re: [PATCH] Staging: greybus: uart: constify tty_port_operations structure

2016-10-15 Thread Johan Hovold
[ +CC: staging list (for real this time) ] On Sat, Oct 15, 2016 at 12:28:01PM +0530, Bhumika Goyal wrote: > Declare tty_port_operations structure as const as it is only stored in > the ops field of a tty_port structure which is a field of a gb_tty > structure. The ops field is of type const struct