hwrng: mxc-rnga - add driver support on boards with device tree
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 5 Mar 2018 22:21:00 +0000 (00:21 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Mar 2018 15:35:44 +0000 (23:35 +0800)
commita6ab6402c4e5ffd3379ba6adfbd2c74101a879c0
tree45cd4aea1001949bd387b21eb76ab317f1efcd5d
parent9885b1bd953640abb7c1de158a2475f23ee13fc8
hwrng: mxc-rnga - add driver support on boards with device tree

The driver works well on i.MX31 powered boards with device description
taken from board device tree, the only change to add to the driver is
the missing OF device id, the affected list of included headers and
indentation in platform driver struct are beautified a little.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Kim Phillips <kim.phillips@arm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/mxc-rnga.c