lkml.org 
[lkml]   [2011]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Staging: comedi: Removed unnecessary "extern" from do_become_nonbusy()
On Sun, Sep 04, 2011 at 05:36:29PM +0200, Johannes Thumshirn wrote:
> Removed unnecessary "extern" label from do_become_nonbusy() function to make
> checkpatch.pl happy
>
> Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
> ---
> drivers/staging/comedi/comedi_fops.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
> index e90e3cc..c46db8f 100644
> --- a/drivers/staging/comedi/comedi_fops.c
> +++ b/drivers/staging/comedi/comedi_fops.c
> @@ -101,8 +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,
> - struct comedi_subdevice *s);
> +void do_become_nonbusy(struct comedi_device *dev, struct comedi_subdevice *s);

This patch does not apply, what tree did you make it against?

Please try it against the latest linux-next tree and resend it.

thanks,

greg k-h


\
 
 \ /
  Last update: 2011-09-07 02:03    [from the cache]
©2003-2011 Jasper Spaans