Messages in this thread Patch in this message |  | | From | markpearson_de@yahoo ... | Subject | [PATCH 2/2] Staging: comedi: Fixed coding style issues. | Date | Sun, 10 Jul 2011 21:16:38 +0200 |
| |
From: Mark Pearson <markpearson_de@yahoo.de>
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> --- drivers/staging/comedi/comedi_fops.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index e7e72b8..88d7a0a 100644 --- a/drivers/staging/comedi/comedi_fops.c +++ b/drivers/staging/comedi/comedi_fops.c @@ -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); -- 1.7.0.4
|  |