]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: comedi: s626: local functions should not be exposed globally
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 21 Jun 2012 02:23:54 +0000 (19:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Jun 2012 03:05:00 +0000 (20:05 -0700)
commitcc4fce7f1f3e3aa9fb6b3b242ba268ba3c6272d0
treedd268772fa49a5d7b16eba58fc29ec898c66eddd
parent1e6a9e56252399ae8c143f2327b4bb8cd289c3d5
staging: comedi: s626: local functions should not be exposed globally

The 'ResetADC' function is prototyped as a static but is missing
the static tag in it's definition. The function is only referenced
in this file so add the static tag to the definition.

This quiets a sparse warning about:

warning: symbol 'ResetADC' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.c