[PATCH] parport: make parport_ip32_ops const and __initconst

2017-10-15 Thread Sudip Mukherjee
From: Bhumika Goyal Make this const as it is only used during a copy operation. This usage is inside init function and the structure is not referenced after initialisation, so make it __initconst too. Signed-off-by: Bhumika Goyal Signed-off-by: Sudip

[PATCH] parport: make parport_ip32_ops const and __initconst

2017-10-15 Thread Sudip Mukherjee
From: Bhumika Goyal Make this const as it is only used during a copy operation. This usage is inside init function and the structure is not referenced after initialisation, so make it __initconst too. Signed-off-by: Bhumika Goyal Signed-off-by: Sudip Mukherjee ---

[PATCH] parport: make parport_ip32_ops const and __initconst

2017-09-18 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. This usage is inside init function and the structure is not referenced after initialisation, so make it __initconst too. Signed-off-by: Bhumika Goyal --- drivers/parport/parport_ip32.c | 2 +- 1 file changed, 1

[PATCH] parport: make parport_ip32_ops const and __initconst

2017-09-18 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. This usage is inside init function and the structure is not referenced after initialisation, so make it __initconst too. Signed-off-by: Bhumika Goyal --- drivers/parport/parport_ip32.c | 2 +- 1 file changed, 1 insertion(+), 1