summaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/comedi_fops.c
diff options
context:
space:
mode:
authorH Hartley Sweeten2012-09-17 22:13:12 +0200
committerGreg Kroah-Hartman2012-09-18 00:03:49 +0200
commit3e76c95107a3423e3dc9d6df09ad802f0e237e9b (patch)
treef5b7a523351e62898f49d839abd9d07183551cb5 /drivers/staging/comedi/comedi_fops.c
parentstaging: sm7xxfb: remove smtc_VRAMBaseAddress (diff)
downloadkernel-qcow2-linux-3e76c95107a3423e3dc9d6df09ad802f0e237e9b.tar.gz
kernel-qcow2-linux-3e76c95107a3423e3dc9d6df09ad802f0e237e9b.tar.xz
kernel-qcow2-linux-3e76c95107a3423e3dc9d6df09ad802f0e237e9b.zip
staging: comedi: comedi_fops: make internal function static
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>
Diffstat (limited to 'drivers/staging/comedi/comedi_fops.c')
-rw-r--r--drivers/staging/comedi/comedi_fops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
index fb2ed2fbb6c8..00d8d1fd6e89 100644
--- a/drivers/staging/comedi/comedi_fops.c
+++ b/drivers/staging/comedi/comedi_fops.c
@@ -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;