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>
This commit is contained in:
parent
cc76daf793
commit
75be45683d
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
static void __iomem *rng_base;
|
static void __iomem *rng_base;
|
||||||
static struct clk *rng_clk;
|
static struct clk *rng_clk;
|
||||||
struct device *rng_dev;
|
static struct device *rng_dev;
|
||||||
|
|
||||||
static inline u32 picoxcell_trng_read_csr(void)
|
static inline u32 picoxcell_trng_read_csr(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue