]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02466a678336bb0bc3c0d45bcc77c0332b0904de
treef87fc049c36d6c5c8022b6b5bc70ccf0b8eb39a9
parentcdeb1df5035249940b2cf96b8ce847d3bfd99b93
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