diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-08-31 07:49:46 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-22 08:39:04 (GMT) |
commit | c8f9ce556ba2fca6b9abdfac508afb9905aac6b8 (patch) | |
tree | 64510c42d7055d1f05af61daed9f10b9abd9e89e /drivers/pcmcia/soc_common.c | |
parent | fb8c9959a3e2e4a28f58d9a9d056d633a3386524 (diff) | |
download | linux-c8f9ce556ba2fca6b9abdfac508afb9905aac6b8.tar.xz |
pcmcia: soc_common: constify pcmcia_low_level ops pointer
Constify the pcmcia_low_level operation pointer to soc_pcmcia_init_one()
which has no need to modify it.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/pcmcia/soc_common.c')
-rw-r--r-- | drivers/pcmcia/soc_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/soc_common.c b/drivers/pcmcia/soc_common.c index 6138c14..3eb3091 100644 --- a/drivers/pcmcia/soc_common.c +++ b/drivers/pcmcia/soc_common.c @@ -744,7 +744,7 @@ static int soc_common_pcmcia_cpufreq_nb(struct notifier_block *nb, #endif void soc_pcmcia_init_one(struct soc_pcmcia_socket *skt, - struct pcmcia_low_level *ops, struct device *dev) + const struct pcmcia_low_level *ops, struct device *dev) { int i; |