From: H Hartley Sweeten Date: Mon, 17 Sep 2012 20:13:32 +0000 (-0700) Subject: staging: comedi: ni_mio_common: make internal functions static X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29aba763060a2c44a7449dff1579f0fed52ea567;p=pandora-kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed