Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75be4568 authored by Jingoo Han's avatar Jingoo Han Committed by Herbert Xu
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent cc76daf7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{