Skip to content

Commit

Permalink
Staging: comedi: make comedi_free_board_minor local to comedi core
Browse files Browse the repository at this point in the history
No one outside of the comedi core calls this function, so don't export
it to the world.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed May 11, 2010
1 parent 242e7ad commit 9e8c604
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -2181,7 +2181,6 @@ void comedi_free_board_minor(unsigned minor)
kfree(info);
}
}
EXPORT_SYMBOL_GPL(comedi_free_board_minor);

int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct comedi_subdevice *s)
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/comedi/comedidev.h
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,6 @@ static inline void *comedi_aux_data(int options[], int n)
return (void *)address;
}

void comedi_free_board_minor(unsigned minor);
int comedi_alloc_subdevice_minor(struct comedi_device *dev,
struct comedi_subdevice *s);
void comedi_free_subdevice_minor(struct comedi_subdevice *s);
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/comedi/internal.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@

int comedi_alloc_board_minor(struct device *hardware_device);
void comedi_free_board_minor(unsigned minor);

0 comments on commit 9e8c604

Please sign in to comment.