提交 50b6e71a 编写于 作者: H Herbert Xu

Revert "hwrng: n2-drv - remove casts from void*"

This reverts commit 8b9cfdca.

This patch needs to wait for the HWRNG API to start using void *
for priv first.
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 00ca28a5
......@@ -387,7 +387,7 @@ static int n2rng_init_control(struct n2rng *np)
static int n2rng_data_read(struct hwrng *rng, u32 *data)
{
struct n2rng *np = rng->priv;
struct n2rng *np = (struct n2rng *) rng->priv;
unsigned long ra = __pa(&np->test_data);
int len;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册