mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 16:07:17 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
87765b9771
commit
3e76c95107
@@ -2023,7 +2023,8 @@ static ssize_t comedi_read(struct file *file, char __user *buf, size_t nbytes,
|
||||
/*
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user