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-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e76c95107a3423e3dc9d6df09ad802f0e237e9b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 fb2ed2fbb6c..00d8d1fd6e8 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;