diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2009-03-29 22:14:32 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2009-11-09 08:30:13 +0100 |
commit | b62d99b5028b6df1c32b864fd9dd32ad6b42d396 (patch) | |
tree | 985babe98d80e9c7bad4abc21ea96d1724b77e5b /drivers/pcmcia | |
parent | dabd14684bc2375bf69f227f04993a4dc2fd3a16 (diff) | |
download | op-kernel-dev-b62d99b5028b6df1c32b864fd9dd32ad6b42d396.zip op-kernel-dev-b62d99b5028b6df1c32b864fd9dd32ad6b42d396.tar.gz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/soc_common.h b/drivers/pcmcia/soc_common.h index 8a755c1..f7533dc 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; |