hwrng: n2 - support new hardware register layout
authorShannon Nelson <shannon.nelson@oracle.com>
Thu, 12 Jan 2017 18:52:48 +0000 (10:52 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jan 2017 10:47:19 +0000 (18:47 +0800)
commit07e25d43be8502bd8ab6122c4f6449ebf30e98f7
treefe7fe1245bd49e0357f72aaaabf85216b6aaa12f
parentbecbc4940ad8e8ff560e1ceee33d9bb4fe4c9225
hwrng: n2 - support new hardware register layout

Add the new register layout constants and the requisite logic
for using them.

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