mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
hwrng: pic32 - remove unused defines
Remove some unused defines and fix the indentation. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
6755ad74aa
commit
97c63a9dea
|
|
@ -19,19 +19,12 @@
|
|||
#include <linux/slab.h>
|
||||
|
||||
#define RNGCON 0x04
|
||||
#define TRNGEN BIT(8)
|
||||
#define PRNGEN BIT(9)
|
||||
#define PRNGCONT BIT(10)
|
||||
#define TRNGMOD BIT(11)
|
||||
#define SEEDLOAD BIT(12)
|
||||
#define RNGPOLY1 0x08
|
||||
#define RNGPOLY2 0x0C
|
||||
#define RNGNUMGEN1 0x10
|
||||
#define RNGNUMGEN2 0x14
|
||||
#define TRNGEN BIT(8)
|
||||
#define TRNGMOD BIT(11)
|
||||
#define RNGSEED1 0x18
|
||||
#define RNGSEED2 0x1C
|
||||
#define RNGRCNT 0x20
|
||||
#define RCNT_MASK 0x7F
|
||||
#define RCNT_MASK 0x7F
|
||||
|
||||
struct pic32_rng {
|
||||
void __iomem *base;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user