Re: [PATCH v3 7/8] usb: ulpi: make ops struct constant

2016-08-17 Thread Heikki Krogerus
On Tue, Aug 16, 2016 at 07:04:52PM +0300, Tal Shorer wrote: > None of the core ulpi functions perform any changes to the operations > struct, and logically as a struct that contains function pointers > there's no reason it shouldn't be constant. > > Signed-off-by: Tal Shorer Acked-by: Heikki Kro

[PATCH v3 7/8] usb: ulpi: make ops struct constant

2016-08-16 Thread Tal Shorer
None of the core ulpi functions perform any changes to the operations struct, and logically as a struct that contains function pointers there's no reason it shouldn't be constant. Signed-off-by: Tal Shorer --- drivers/usb/common/ulpi.c | 3 ++- include/linux/ulpi/driver.h| 2 +- include