Commit 08ebfcd2 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: ni_pcidio: local functions should not be exported



The function ni_pcidio_event() is only referenced in this file.
Make it static.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ce48a911
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 |