]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
staging: comedi: ni_660x: local functions should not be exported
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 17 Sep 2012 20:14:24 +0000 (13:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 22:03:50 +0000 (15:03 -0700)
The function ni_660x_release_mite_channel() 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_660x.c

index d3c8e6a513ead7e31ad1d0bfcc7fc2a7f4df04c1..df2f3b0bab4843201bb37c0cbda38f7395e56041 100644 (file)
@@ -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;