summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/soc_common.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-08-31 10:49:46 +0300
committerRussell King <rmk+kernel@armlinux.org.uk>2016-09-22 11:39:01 +0300
commita1d0500261e788f9b1d068e3167b2a77ad0abfc4 (patch)
treed9b98466428f41f3df211bf65cd414c690abada6 /drivers/pcmcia/soc_common.h
parent6ac95d821216f3baab16821a893d52ab385824be (diff)
downloadlinux-a1d0500261e788f9b1d068e3167b2a77ad0abfc4.tar.xz
pcmcia: soc_common: add CF socket state helper
Add a helper to get the voltage state of CF sockets, where the voltage sense pins are not wired up. Switch assabet and cerf to use this helper. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/pcmcia/soc_common.h')
-rw-r--r--drivers/pcmcia/soc_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pcmcia/soc_common.h b/drivers/pcmcia/soc_common.h
index 686ba3238c76..39c1e15167f3 100644
--- a/drivers/pcmcia/soc_common.h
+++ b/drivers/pcmcia/soc_common.h
@@ -143,6 +143,8 @@ void soc_pcmcia_remove_one(struct soc_pcmcia_socket *skt);
int soc_pcmcia_add_one(struct soc_pcmcia_socket *skt);
int soc_pcmcia_request_gpiods(struct soc_pcmcia_socket *skt);
+void soc_common_cf_socket_state(struct soc_pcmcia_socket *skt,
+ struct pcmcia_state *state);
#ifdef CONFIG_PCMCIA_DEBUG