From: H Hartley Sweeten Date: Mon, 17 Sep 2012 20:14:08 +0000 (-0700) Subject: staging: comedi: jr3_pci: local functions should not be exported X-Git-Tag: next-20120918~21^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2ca9bc2e69b66f98ff41c06700333cb544f91211;p=karo-tx-linux.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- 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) {