PCMCIA: soc_common: constify soc_pcmcia_socket ops member
No one should modify the ops structure supplied to soc_pcmcia_socket so make it const. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
This commit is contained in:

committed by
Dominik Brodowski

parent
dabd14684b
commit
b62d99b502
@@ -37,7 +37,7 @@ struct soc_pcmcia_socket {
|
|||||||
/*
|
/*
|
||||||
* Core PCMCIA state
|
* Core PCMCIA state
|
||||||
*/
|
*/
|
||||||
struct pcmcia_low_level *ops;
|
const struct pcmcia_low_level *ops;
|
||||||
|
|
||||||
unsigned int status;
|
unsigned int status;
|
||||||
socket_state_t cs_state;
|
socket_state_t cs_state;
|
||||||
|
Reference in New Issue
Block a user