]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 6 Apr 2017 07:13:48 +0000 (00:13 -0700)
commitaf8a37470c878f64db3c7c2185f7c8debb64ce42
treea7def1a27429f3dc1c616fd88642173b406b349b
parenta6309756cf44933bcfd888535e3ca7d951e6b316
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.

Orabug: 25127795

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit becbc4940ad8e8ff560e1ceee33d9bb4fe4c9225)
Signed-off-by: Allen Pais <allen.pais@oracle.com>
drivers/char/hw_random/n2-drv.c
drivers/char/hw_random/n2rng.h