aboutsummaryrefslogtreecommitdiff
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorRussell King - ARM Linux <linux@arm.linux.org.uk>2009-03-29 22:14:32 +0100
committerDominik Brodowski <linux@dominikbrodowski.net>2009-11-09 08:30:13 +0100
commitb62d99b5028b6df1c32b864fd9dd32ad6b42d396 (patch)
tree985babe98d80e9c7bad4abc21ea96d1724b77e5b /drivers/pcmcia
parentdabd14684bc2375bf69f227f04993a4dc2fd3a16 (diff)
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>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r--drivers/pcmcia/soc_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/soc_common.h b/drivers/pcmcia/soc_common.h
index 8a755c1a949..f7533dcba67 100644
--- a/drivers/pcmcia/soc_common.h
+++ b/drivers/pcmcia/soc_common.h
@@ -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;