staging: comedi: split out PCMCIA support into new module
authorIan Abbott <abbotti@mev.co.uk>
Fri, 31 Oct 2014 17:47:37 +0000 (17:47 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 17:24:33 +0000 (09:24 -0800)
commitaae434b3c34d124abe2dc4ea86d9ba9b2bcf403a
tree9fea962512d24215af20a7c3502674cd584799da
parentd51b365101d80bb99b9da723fd0cdb88e1a3ee12
staging: comedi: split out PCMCIA support into new module

Setting the `CONFIG_COMEDI_PCMCIA_DRIVERS` kernel configuration option
makes the main "comedi" module depend on the "pcmcia" module, but many
machines don't have PCMCIA slots and only a few low-level Comedi drivers
need PCMCIA support.  The Comedi PCMCIA support functions are all in
"comedi_pcmcia.c".  Turn it into a separate module so we don't have to
pull in the other PCMCIA support modules unnecessarily.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/Kconfig
drivers/staging/comedi/Makefile
drivers/staging/comedi/comedi_pcmcia.c