Skip to content

Commit

Permalink
Revert "hwrng: n2-drv - remove casts from void*"
Browse files Browse the repository at this point in the history
This reverts commit 8b9cfdc.

This patch needs to wait for the HWRNG API to start using void *
for priv first.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
herbertx committed Aug 9, 2010
1 parent 00ca28a commit 50b6e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/hw_random/n2-drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 50b6e71

Please sign in to comment.