Skip to content

Commit f5283a4

Browse files
markp1967gregkh
authored andcommitted
Staging: comedi: Fixed coding style issues.
comedi_fops.c : A forward decleration was declared as extern although it is a function private to this file. Changed the decleration to static. Signed-off-by: Mark Pearson <markpearson_de@yahoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 5cf51e8 commit f5283a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/staging/comedi/comedi_fops.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static int do_insn_ioctl(struct comedi_device *dev,
101101
static int do_poll_ioctl(struct comedi_device *dev, unsigned int subd,
102102
void *file);
103103

104-
extern void do_become_nonbusy(struct comedi_device *dev,
104+
static void do_become_nonbusy(struct comedi_device *dev,
105105
struct comedi_subdevice *s);
106106
static int do_cancel(struct comedi_device *dev, struct comedi_subdevice *s);
107107

0 commit comments

Comments
 (0)