ni_mio_common: Made a couple of functions static.
authorIan Abbott <abbotti@mev.co.uk>
Wed, 6 Jun 2012 09:53:30 +0000 (10:53 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Wed, 6 Jun 2012 09:53:30 +0000 (10:53 +0100)
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 <abbotti@mev.co.uk>
comedi/drivers/ni_mio_common.c

index ce7725d437f5227c7669c10a3a87c74e008c197d..537990b04f0aca36e524ede4f6a82d66b360e4d2 100644 (file)
@@ -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);