From: H Hartley Sweeten Date: Mon, 17 Sep 2012 20:14:41 +0000 (-0700) Subject: staging: comedi: ni_pcidio: local functions should not be exported X-Git-Tag: firefly_0821_release~3680^2~1977^2~145 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=08ebfcd205e30a8c42651b00d8c6722d03d9a2ae;p=firefly-linux-kernel-4.4.55.git 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: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_pcidio.c b/drivers/staging/comedi/drivers/ni_pcidio.c index acbed139ac15..6a70e266b1a3 100644 --- a/drivers/staging/comedi/drivers/ni_pcidio.c +++ b/drivers/staging/comedi/drivers/ni_pcidio.c @@ -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 |