hwrng: bcm2835 - Abstract I/O accessors
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 8 Nov 2017 00:44:45 +0000 (16:44 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Nov 2017 05:43:46 +0000 (16:43 +1100)
commitabd42026eab99691d8ab9e1cd417553cfadf9b76
tree6f16cd961c03646af9ff4c659d2f005e203a78ae
parent791af4f4907a8bee879713cb19fa90e6369f8386
hwrng: bcm2835 - Abstract I/O accessors

In preparation for allowing BCM63xx to use this driver, we abstract I/O
accessors such that we can easily change those later on.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/bcm2835-rng.c