]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
Staging: comedi: Fixed coding style issues.
authorMark Pearson <markpearson_de@yahoo.de>
Sun, 10 Jul 2011 19:16:38 +0000 (21:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 18:56:46 +0000 (11:56 -0700)
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>
drivers/staging/comedi/comedi_fops.c

index e90e3cceb5f8b6ded3ea065a7693ac237c3a2834..21d8c1c16cd891e42bf1621d7ff1ba8f0dc5e580 100644 (file)
@@ -101,7 +101,7 @@ static int do_insn_ioctl(struct comedi_device *dev,
 static int do_poll_ioctl(struct comedi_device *dev, unsigned int subd,
                         void *file);
 
-extern void do_become_nonbusy(struct comedi_device *dev,
+static void do_become_nonbusy(struct comedi_device *dev,
                              struct comedi_subdevice *s);
 static int do_cancel(struct comedi_device *dev, struct comedi_subdevice *s);