diff options
author | Alexander Clouter | 2013-03-31 17:34:50 +0100 |
---|---|---|
committer | Herbert Xu | 2013-04-25 21:01:45 +0800 |
commit | 1907da78bf6a3f74e5d030a4a4f6700ba0d0a234 (patch) | |
tree | da0b0fc6f6f3327777976389d88843b1032e1d68 /include/linux/timeriomem-rng.h | |
parent | 57ae1b0532977b30184aaba04b6cafe0a284c21f (diff) |
hwrng: timeriomem - update to support more than one device
timeriomem_rng only supports a single device instance. This patch
enables multiple timeriomem_rng devices to coexist as well as adds
some additional error checking.
Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/timeriomem-rng.h')
-rw-r--r-- | include/linux/timeriomem-rng.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/timeriomem-rng.h b/include/linux/timeriomem-rng.h index 3e08a1c86830..46eb27ddbfab 100644 --- a/include/linux/timeriomem-rng.h +++ b/include/linux/timeriomem-rng.h @@ -8,12 +8,7 @@ * published by the Free Software Foundation. */ -#include <linux/completion.h> - struct timeriomem_rng_data { - struct completion completion; - unsigned int present:1; - void __iomem *address; /* measures in usecs */ |