]> 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)
commitc32778a18344f9478904daf2c3636503a1deab87
treef87fc049c36d6c5c8022b6b5bc70ccf0b8eb39a9
parent46747d5e43b20e026213cf517837fcec1fc40023
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