summaryrefslogtreecommitdiff
path: root/drivers/char/hw_random/msm-rng.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-12 14:00:06 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-16 21:45:56 +1100
commitef0a1b26499f61b2453dd0c454aedee687edf31c (patch)
treed7d8ce39756b69f3b893ef1454ab3e2a03683b7b /drivers/char/hw_random/msm-rng.c
parent9052b0dd45d7e44aa43af03f48d329a2530c70c4 (diff)
hwrng: iproc-rng200 - do not use static structure
Instead of using static hwrng structure that is reused between binds/unbinds of the device let's embed it into driver's private structure that we allocate. This way we are guaranteed not to stumble onto something left from previous bind attempt. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/char/hw_random/msm-rng.c')
0 files changed, 0 insertions, 0 deletions