]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: comedi: ni_mio_common: make internal functions static
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 17 Sep 2012 20:13:32 +0000 (13:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 22:03:49 +0000 (15:03 -0700)
commit29aba763060a2c44a7449dff1579f0fed52ea567
tree93aa886d6ef90c76b41925aa057531635223d74e
parent3e76c95107a3423e3dc9d6df09ad802f0e237e9b
staging: comedi: ni_mio_common: make internal functions static

The functions ni_release_gpct_mite_channel() and ni_prime_channelgain_list()
are only referenced in this file. Make it static.

The function ni_release_gpct_mite_channel() is also only called
when PCIDMA is enabled. Move the #ifdef to quite a sparse warning
about the function not being used.

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>
drivers/staging/comedi/drivers/ni_mio_common.c