Skip to content

Commit

Permalink
staging: comedi: jr3_pci: local functions should not be exported
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 17, 2012
1 parent 135f8a5 commit 2ca9bc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/staging/comedi/drivers/jr3_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2ca9bc2

Please sign in to comment.