From: Ian Abbott Date: Wed, 6 Jun 2012 09:53:30 +0000 (+0100) Subject: ni_mio_common: Made a couple of functions static. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f4ad9ca0694ee77fe7aedde53cce5b07570e5141;p=comedi.git ni_mio_common: Made a couple of functions static. Made ni_release_gpct_mite_channel() and ni_prime_channelgain_list() static. Spotted by H Hartley Sweeten in the "staging" sources. Signed-off-by: Ian Abbott --- diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index ce7725d4..537990b0 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -600,7 +600,8 @@ static void ni_release_ao_mite_channel(comedi_device * dev) #endif // PCIDMA } -void ni_release_gpct_mite_channel(comedi_device * dev, unsigned gpct_index) +static void ni_release_gpct_mite_channel(comedi_device * dev, + unsigned gpct_index) { #ifdef PCIDMA unsigned long flags; @@ -1815,7 +1816,7 @@ static int ni_ai_insn_read(comedi_device * dev, comedi_subdevice * s, return insn->n; } -void ni_prime_channelgain_list(comedi_device * dev) +static void ni_prime_channelgain_list(comedi_device * dev) { int i; devpriv->stc_writew(dev, AI_CONVERT_Pulse, AI_Command_1_Register);