diff options
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/n2-drv.c | 2 | ||||
-rw-r--r-- | drivers/char/random.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index 0f9cbf1aaf15..101d5f235547 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c | |||
@@ -387,7 +387,7 @@ static int n2rng_init_control(struct n2rng *np) | |||
387 | 387 | ||
388 | static int n2rng_data_read(struct hwrng *rng, u32 *data) | 388 | static int n2rng_data_read(struct hwrng *rng, u32 *data) |
389 | { | 389 | { |
390 | struct n2rng *np = (struct n2rng *) rng->priv; | 390 | struct n2rng *np = rng->priv; |
391 | unsigned long ra = __pa(&np->test_data); | 391 | unsigned long ra = __pa(&np->test_data); |
392 | int len; | 392 | int len; |
393 | 393 | ||
diff --git a/drivers/char/random.c b/drivers/char/random.c index 8d85587b6d4f..caef35a46890 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c | |||
@@ -407,8 +407,8 @@ struct entropy_store { | |||
407 | struct poolinfo *poolinfo; | 407 | struct poolinfo *poolinfo; |
408 | __u32 *pool; | 408 | __u32 *pool; |
409 | const char *name; | 409 | const char *name; |
410 | int limit; | ||
411 | struct entropy_store *pull; | 410 | struct entropy_store *pull; |
411 | int limit; | ||
412 | 412 | ||
413 | /* read-write data: */ | 413 | /* read-write data: */ |
414 | spinlock_t lock; | 414 | spinlock_t lock; |