OSDN Git Service

staging/ccree: Declare compiled out functions static inline
authorRishabh Hardas <rishabhhardas@gmail.com>
Thu, 12 Oct 2017 12:36:53 +0000 (18:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 13:33:15 +0000 (15:33 +0200)
commit37ba0e399c4cc8590d092e5f11b499dc372f75a4
treed5a76a94d6e215a8113eae94b5de9b3fb95abc41
parentb7749656e946884271fca142b2a492249fc63feb
staging/ccree: Declare compiled out functions static inline

Sparse was giving out a warning for symbols
'cc_set_ree_fips_status' and 'fips_handler'
that they were not declared and need to be
made static. This patch makes both the symbols
static inline, to remove the warnings.

Signed-off-by: Rishabh Hardas <rishabhhardas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_fips.h