aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedidev.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-01-30 15:23:06 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-31 10:40:41 +0100
commit1f021e1f3b187586e457b4584d0e5f0f5ca5fa15 (patch)
tree5ca3e7412f997b445e022686c271a377f537c1e0 /drivers/staging/comedi/comedidev.h
parent309231d7a610554b02084ff7b465e43ef383a3bc (diff)
downloadkernel_goldelico_gta04-1f021e1f3b187586e457b4584d0e5f0f5ca5fa15.tar.gz
kernel_goldelico_gta04-1f021e1f3b187586e457b4584d0e5f0f5ca5fa15.tar.bz2
kernel_goldelico_gta04-1f021e1f3b187586e457b4584d0e5f0f5ca5fa15.zip
staging: comedi: allow pcmcia drivers to auto attach
Introduce some helper functions to allow converting the comedi pcmcia drivers to the comedi auto_attach mechanism. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/comedidev.h')
-rw-r--r--drivers/staging/comedi/comedidev.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h
index 329b1d7bc45..ea585ebd07d 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -465,6 +465,12 @@ static inline void comedi_pci_disable(struct pci_dev *dev)
/* comedi_pcmcia.c - comedi PCMCIA driver specific functions */
struct pcmcia_driver;
+struct pcmcia_device;
+
+struct pcmcia_device *comedi_to_pcmcia_dev(struct comedi_device *);
+
+int comedi_pcmcia_auto_config(struct pcmcia_device *, struct comedi_driver *);
+void comedi_pcmcia_auto_unconfig(struct pcmcia_device *);
int comedi_pcmcia_driver_register(struct comedi_driver *,
struct pcmcia_driver *);