diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-09 07:53:50 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-08-09 08:41:30 +0200 |
commit | 75be45683d5ff3f859f9cb2082574f96f8fd768f (patch) | |
tree | e6c174785738dbb0bb85496a6b898324903522d4 /drivers | |
parent | crypto: nx - saves chaining value from co-processor (diff) | |
download | linux-75be45683d5ff3f859f9cb2082574f96f8fd768f.tar.xz linux-75be45683d5ff3f859f9cb2082574f96f8fd768f.zip |
hwrng: pixocel - Staticize 'rng_dev'
'rng_dev' is used only in this file.
Fix the following sparse warning:
drivers/char/hw_random/picoxcell-rng.c:36:15: warning: symbol 'rng_dev' was not declared. Should it be static?
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/hw_random/picoxcell-rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/picoxcell-rng.c b/drivers/char/hw_random/picoxcell-rng.c index 973b95113edf..3d4c2293c6f5 100644 --- a/drivers/char/hw_random/picoxcell-rng.c +++ b/drivers/char/hw_random/picoxcell-rng.c @@ -33,7 +33,7 @@ static void __iomem *rng_base; static struct clk *rng_clk; -struct device *rng_dev; +static struct device *rng_dev; static inline u32 picoxcell_trng_read_csr(void) { |