staging: comedi: ni_pcidio: local functions should not be exported
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 17 Sep 2012 20:14:41 +0000 (13:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 22:03:50 +0000 (15:03 -0700)
The function ni_pcidio_event() is only referenced in this file.
Make it static.

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_pcidio.c

index acbed139ac156b2068d23af2e1b71ab3a5740f5f..6a70e266b1a30f04c9600e35477f367cdd14e319 100644 (file)
@@ -370,7 +370,8 @@ static void ni_pcidio_release_di_mite_channel(struct comedi_device *dev)
        spin_unlock_irqrestore(&devpriv->mite_channel_lock, flags);
 }
 
-void ni_pcidio_event(struct comedi_device *dev, struct comedi_subdevice *s)
+static void ni_pcidio_event(struct comedi_device *dev,
+                           struct comedi_subdevice *s)
 {
        if (s->
            async->events & (COMEDI_CB_EOA | COMEDI_CB_ERROR |