]> 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)
commit7cbd4766dddcdd56eaa135d371123638e8e5c224
tree8e4c4fc62096e366ef2cce5967e6368d63f6cd4c
parent6dc30ee926c760c9f1b563a0b7878f7ea72e1f98
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