提交 75be4568 编写于 作者: J Jingoo Han 提交者: Herbert Xu

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: NJingoo Han <jg1.han@samsung.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 cc76daf7
...@@ -33,7 +33,7 @@ ...@@ -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)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册