diff options
| author | Romain Perier <[email protected]> | 2016-09-16 12:08:52 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2016-10-21 10:27:51 +0800 |
| commit | b23d2d92ce34a487436dba8549a302729c5a40a2 (patch) | |
| tree | d7db79d480717fd689c4ec9d9caa1d3dd23519f7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 69eb4d0190eab9e32fccbe1ec64dec1cfa7fb01a (diff) | |
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions