From: Greg Kroah-Hartman Date: Mon, 3 May 2010 22:24:14 +0000 (-0700) Subject: Staging: comedi: make comedi_free_board_minor local to comedi core X-Git-Tag: MMI-PSA29.97-13-9~23841^2^2~266 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e8c604821b372c6e98e9632f5617913bf92ae45;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: comedi: make comedi_free_board_minor local to comedi core No one outside of the comedi core calls this function, so don't export it to the world. Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index 2634af2f33df..ce8e2549b8ff 100644 --- a/drivers/staging/comedi/comedi_fops.c +++ b/drivers/staging/comedi/comedi_fops.c @@ -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) diff --git a/drivers/staging/comedi/comedidev.h b/drivers/staging/comedi/comedidev.h index 5f017c2383b3..c72fd15e6a55 100644 --- a/drivers/staging/comedi/comedidev.h +++ b/drivers/staging/comedi/comedidev.h @@ -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); diff --git a/drivers/staging/comedi/internal.h b/drivers/staging/comedi/internal.h index 4ced6bfa7e9c..4b6065adb7ea 100644 --- a/drivers/staging/comedi/internal.h +++ b/drivers/staging/comedi/internal.h @@ -1,2 +1,3 @@ int comedi_alloc_board_minor(struct device *hardware_device); +void comedi_free_board_minor(unsigned minor);