diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-04-11 14:45:19 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-04-20 18:58:36 +0200 |
commit | b0039c00fbbbc3cb9c4b25852d81a2b4c193371d (patch) | |
tree | 74d13f3de5776b7229bc9701fcf634a5c4926b96 /drivers/crypto/caam/ctrl.c | |
parent | crypto: cavium - Fix smp_processor_id() warnings (diff) | |
download | linux-b0039c00fbbbc3cb9c4b25852d81a2b4c193371d.tar.xz linux-b0039c00fbbbc3cb9c4b25852d81a2b4c193371d.zip |
crypto: caam - staticize caam_get_era()
caam_get_era() is only used locally, so do not export this function
and make it static instead.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/ctrl.c')
-rw-r--r-- | drivers/crypto/caam/ctrl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index e4cc636e1104..bee690ab8650 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c @@ -400,7 +400,7 @@ start_rng: * caam_get_era() - Return the ERA of the SEC on SoC, based * on "sec-era" propery in the DTS. This property is updated by u-boot. **/ -int caam_get_era(void) +static int caam_get_era(void) { struct device_node *caam_node; int ret; @@ -412,7 +412,6 @@ int caam_get_era(void) return ret ? -ENOTSUPP : prop; } -EXPORT_SYMBOL(caam_get_era); static const struct of_device_id caam_match[] = { { |