aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRomain Perier <romain.perier@free-electrons.com>2016-09-16 12:08:52 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-10-21 10:27:51 +0800
commitb23d2d92ce34a487436dba8549a302729c5a40a2 (patch)
treed7db79d480717fd689c4ec9d9caa1d3dd23519f7 /tools/perf/scripts/python/bin
parenthwrng: omap - Switch to non-obsolete read API implementation (diff)
downloadlinux-b23d2d92ce34a487436dba8549a302729c5a40a2.tar.gz
linux-b23d2d92ce34a487436dba8549a302729c5a40a2.zip
hwrng: omap - Remove global definition of hwrng
The omap-rng driver currently assumes that there will only ever be a single instance of an RNG device. For this reason, there is a statically allocated struct hwrng, with a fixed name. However, registering two struct hwrng with the same isn't accepted by the RNG framework, so we need to switch to a dynamically allocated struct hwrng, each using a different name. Then, we define the name of this hwrng to "dev_name(dev)", so the name of the data structure is unique per device. Signed-off-by: Romain Perier <romain.perier@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions