hwrng: n2 - add device data descriptions
authorShannon Nelson <shannon.nelson@oracle.com>
Thu, 12 Jan 2017 18:52:47 +0000 (10:52 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jan 2017 10:47:19 +0000 (18:47 +0800)
commitbecbc4940ad8e8ff560e1ceee33d9bb4fe4c9225
treef87fc049c36d6c5c8022b6b5bc70ccf0b8eb39a9
parentdb602a7f940a71870c17e39bcbe4e4d7a4a8273e
hwrng: n2 - add device data descriptions

Since we're going to need to keep track of more than just one
attribute of the hardware, we'll change the use of the data field
from the match struct from a single flag to a struct pointer.
This patch adds the struct template and initial descriptions.

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/n2-drv.c
drivers/char/hw_random/n2rng.h