From: H Hartley Sweeten Date: Mon, 17 Sep 2012 20:13:12 +0000 (-0700) Subject: staging: comedi: comedi_fops: make internal function static X-Git-Tag: firefly_0821_release~3680^2~1977^2~150 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3e76c95107a3423e3dc9d6df09ad802f0e237e9b;p=firefly-linux-kernel-4.4.55.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- 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;