staging: comedi: jr3_pci: local functions should not be exported
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 17 Sep 2012 20:14:08 +0000 (13:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Sep 2012 22:03:50 +0000 (15:03 -0700)
The function read_idm_word() is only referenced in this file.
Make it static.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/jr3_pci.c

index 93f94cd7bae2e86d890b4006c9dfb19ee414804a..4b7cfe342c7917591eaa0dd566c4f77cf9fa3e9b 100644 (file)
@@ -362,7 +362,8 @@ static int jr3_pci_open(struct comedi_device *dev)
        return 0;
 }
 
-int read_idm_word(const u8 * data, size_t size, int *pos, unsigned int *val)
+static int read_idm_word(const u8 *data, size_t size, int *pos,
+                        unsigned int *val)
 {
        int result = 0;
        if (pos != 0 && val != 0) {