staging: comedi: comedi_fops: make internal function static
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 17 Sep 2012 20:13:12 +0000 (13:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 22:03:49 +0000 (15:03 -0700)
The function do_become_nonbusy() 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/comedi_fops.c

index fb2ed2fbb6c8ddeab1a2ec9a46d89243c6b65674..00d8d1fd6e89f3e012242bd15f3045bf955ae4af 100644 (file)
@@ -2023,7 +2023,8 @@ done:
 /*
    This function restores a subdevice to an idle state.
  */
-void do_become_nonbusy(struct comedi_device *dev, struct comedi_subdevice *s)
+static void do_become_nonbusy(struct comedi_device *dev,
+                             struct comedi_subdevice *s)
 {
        struct comedi_async *async = s->async;