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: v3.7-rc1~173^2~147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ca9bc2e69b66f98ff41c06700333cb544f91211;p=profile%2Fivi%2Fkernel-x86-ivi.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 93f94cd7bae..4b7cfe342c7 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) {