From: H Hartley Sweeten Date: Mon, 17 Sep 2012 20:14:24 +0000 (-0700) Subject: staging: comedi: ni_660x: local functions should not be exported X-Git-Tag: firefly_0821_release~3680^2~1977^2~146 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ce48a91139eaafba2ed0f917e5ca744f20c28c47;p=firefly-linux-kernel-4.4.55.git staging: comedi: ni_660x: local functions should not be exported The function ni_660x_release_mite_channel() 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_660x.c b/drivers/staging/comedi/drivers/ni_660x.c index d3c8e6a513ea..df2f3b0bab48 100644 --- a/drivers/staging/comedi/drivers/ni_660x.c +++ b/drivers/staging/comedi/drivers/ni_660x.c @@ -865,8 +865,8 @@ static int ni_660x_request_mite_channel(struct comedi_device *dev, return 0; } -void ni_660x_release_mite_channel(struct comedi_device *dev, - struct ni_gpct *counter) +static void ni_660x_release_mite_channel(struct comedi_device *dev, + struct ni_gpct *counter) { unsigned long flags;