Skip to content

Commit

Permalink
PCMCIA: soc_common: constify soc_pcmcia_socket ops member
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King - ARM Linux authored and Dominik Brodowski committed Nov 9, 2009
1 parent dabd146 commit b62d99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pcmcia/soc_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b62d99b

Please sign in to comment.