ni_mio_common: ni_release_gpct_mite_channel only used for PCI.
authorIan Abbott <abbotti@mev.co.uk>
Wed, 6 Jun 2012 10:02:27 +0000 (11:02 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 6 Jun 2012 10:02:27 +0000 (11:02 +0100)
commit0bd638c43e03d94569f606a4755b68a4bc648ab0
tree0d6077865a8d56f3d23ac742aae79836a69eb266
parentf4ad9ca0694ee77fe7aedde53cce5b07570e5141
ni_mio_common: ni_release_gpct_mite_channel only used for PCI.

The ni_release_gpct_mite_channel() function is static, but only called
from code within '#ifdef PCIDMA'.  Wrap the whole function within a
'#ifdef PCIDMA'/'#endif' pair to avoid compiler warning about unused
function for the ni_atmio driver.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/drivers/ni_mio_common.c