aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-08-09 01:53:50 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2013-08-09 02:41:30 -0400
commit75be45683d5ff3f859f9cb2082574f96f8fd768f (patch)
treee6c174785738dbb0bb85496a6b898324903522d4 /drivers/char/hw_random
parentcc76daf793287b2c51b0b66153072b23cdb51c1c (diff)
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/char/hw_random')
-rw-r--r--drivers/char/hw_random/picoxcell-rng.c2
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 @@
33 33
34static void __iomem *rng_base; 34static void __iomem *rng_base;
35static struct clk *rng_clk; 35static struct clk *rng_clk;
36struct device *rng_dev; 36static struct device *rng_dev;
37 37
38static inline u32 picoxcell_trng_read_csr(void) 38static inline u32 picoxcell_trng_read_csr(void)
39{ 39{