mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Dominik Brodowski <[email protected]>
This commit is contained in:
parent
dabd14684b
commit
b62d99b502
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ struct soc_pcmcia_socket {
|
|||
/*
|
||||
* Core PCMCIA state
|
||||
*/
|
||||
struct pcmcia_low_level *ops;
|
||||
const struct pcmcia_low_level *ops;
|
||||
|
||||
unsigned int status;
|
||||
socket_state_t cs_state;
|
||||
|
|
|
|||
Loading…
Reference in a new issue