mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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>
This commit is contained in:
parent
135f8a5e03
commit
2ca9bc2e69
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue