Staging: comedi: make comedi_free_board_minor local to comedi core
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 May 2010 22:24:14 +0000 (15:24 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 May 2010 18:36:03 +0000 (11:36 -0700)
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>
drivers/staging/comedi/comedi_fops.c
drivers/staging/comedi/comedidev.h
drivers/staging/comedi/internal.h

index 2634af2f33df5f26f08a1f60f7f779c1dc5eef5c..ce8e2549b8ffdaea502e22513edd77ebc35d4d3e 100644 (file)
@@ -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)
index 5f017c2383b38367e212660d9605428d6d5bbc45..c72fd15e6a5515652e8aa0597cc8b79b5b728f58 100644 (file)
@@ -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);
index 4ced6bfa7e9c589bdc427670f809da81be4cd396..4b6065adb7eafcb37b83a6c9c4ef9a1056174ee4 100644 (file)
@@ -1,2 +1,3 @@
 
 int comedi_alloc_board_minor(struct device *hardware_device);
+void comedi_free_board_minor(unsigned minor);
This page took 0.032643 seconds and 5 git commands to generate.