summaryrefslogtreecommitdiff
path: root/include/linux/timeriomem-rng.h
diff options
context:
space:
mode:
authorAlexander Clouter <alex@digriz.org.uk>2013-03-31 20:34:50 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2013-04-25 17:01:45 +0400
commit1907da78bf6a3f74e5d030a4a4f6700ba0d0a234 (patch)
treeda0b0fc6f6f3327777976389d88843b1032e1d68 /include/linux/timeriomem-rng.h
parent57ae1b0532977b30184aaba04b6cafe0a284c21f (diff)
downloadlinux-1907da78bf6a3f74e5d030a4a4f6700ba0d0a234.tar.xz
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.h5
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 */