diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2009-03-29 17:14:32 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-09 02:30:13 -0500 |
commit | b62d99b5028b6df1c32b864fd9dd32ad6b42d396 (patch) | |
tree | 985babe98d80e9c7bad4abc21ea96d1724b77e5b | |
parent | dabd14684bc2375bf69f227f04993a4dc2fd3a16 (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>
-rw-r--r-- | drivers/pcmcia/soc_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/soc_common.h b/drivers/pcmcia/soc_common.h index 8a755c1a949a..f7533dcba679 100644 --- a/drivers/pcmcia/soc_common.h +++ b/drivers/pcmcia/soc_common.h | |||
@@ -37,7 +37,7 @@ struct soc_pcmcia_socket { | |||
37 | /* | 37 | /* |
38 | * Core PCMCIA state | 38 | * Core PCMCIA state |
39 | */ | 39 | */ |
40 | struct pcmcia_low_level *ops; | 40 | const struct pcmcia_low_level *ops; |
41 | 41 | ||
42 | unsigned int status; | 42 | unsigned int status; |
43 | socket_state_t cs_state; | 43 | socket_state_t cs_state; |