summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-09-17 13:14:08 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-17 15:03:50 -0700
commit2ca9bc2e69b66f98ff41c06700333cb544f91211 (patch)
tree95ee3a2a506b898bcb0dfaa8fa317d9a9418067c
parent135f8a5e031db8ef4031fb3c815ef7ace876f9b1 (diff)
staging: comedi: jr3_pci: local functions should not be exported
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>
-rw-r--r--drivers/staging/comedi/drivers/jr3_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/jr3_pci.c b/drivers/staging/comedi/drivers/jr3_pci.c
index 93f94cd7bae2..4b7cfe342c79 100644
--- a/drivers/staging/comedi/drivers/jr3_pci.c
+++ b/drivers/staging/comedi/drivers/jr3_pci.c
@@ -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) {