parport: make parport_ip32_ops const and __initconst
authorBhumika Goyal <bhumirks@gmail.com>
Sun, 15 Oct 2017 21:04:23 +0000 (22:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 13:17:44 +0000 (15:17 +0200)
commitc932806c65f3b6712133f6433f9b7c31a6ca0d0b
tree372c7ce30fa9ac3ff757d67d3c7e8d9c66364bf5
parent421eb12ead322d66b469b8bf658eca2213f409f5
parport: make parport_ip32_ops const and __initconst

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 <bhumirks@gmail.com>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_ip32.c