]> git.baikalelectronics.ru Git - kernel.git/commit
staging: visorchipset: fix sparse warnings about static declaration
authorVincent Bernat <vincent@bernat.im>
Fri, 1 Aug 2014 08:29:30 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 21:39:26 +0000 (14:39 -0700)
commit7cc51aa2afaaeda03f872d6cc0f0a9b20c08b68c
tree8e4c4fc62096e366ef2cce5967e6368d63f6cd4c
parente50a67f51b965c9f6359046cb147d4e5abf36a66
staging: visorchipset: fix sparse warnings about static declaration

Some functions were prototyped as static but the actual definition
wasn't. While this is valid (the function is static because the two
declarations don't conflict and the first one is static), this makes
sparse unhappy and cause confusion of normal people too.

Signed-off-by: Vincent Bernat <vincent@bernat.im>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchipset/visorchipset_main.c