projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc76daf
)
hwrng: pixocel - Staticize 'rng_dev'
author
Jingoo Han
<jg1.han@samsung.com>
Fri, 9 Aug 2013 05:53:50 +0000
(14:53 +0900)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 9 Aug 2013 06:41:30 +0000
(16:41 +1000)
'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>
drivers/char/hw_random/picoxcell-rng.c
patch
|
blob
|
history
diff --git
a/drivers/char/hw_random/picoxcell-rng.c
b/drivers/char/hw_random/picoxcell-rng.c
index
973b951
..
3d4c229
100644
(file)
--- 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;
+st
atic st
ruct device *rng_dev;
static inline u32 picoxcell_trng_read_csr(void)
{