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:
Russell King - ARM Linux 2009-03-29 22:14:32 +01:00 committed by Dominik Brodowski
parent dabd14684b
commit b62d99b502

View File

@ -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;