summaryrefslogtreecommitdiff
path: root/include/linux/timeriomem-rng.h
diff options
context:
space:
mode:
authorAlexander Clouter <alex@digriz.org.uk>2009-03-27 12:59:54 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-03-27 12:59:54 +0800
commit3341323bb4c198f704cffbfdda37bcec1226ef7d (patch)
tree6fa9d807e9ccd3e6e0eb75cea990317dbd68fcf1 /include/linux/timeriomem-rng.h
parentbe0ea69674ed95e1e98cb3687a241badc756d228 (diff)
hwrng: timeriomem - Use phys address rather than virt
There is no ioremap'ing or anything in timeriomem-rng.c as I foolishly used already remapped virtual addresses instead of passing the physical address to be polled. This patch fixes this flaw and lets developers do the Right Thing(tm). 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/timeriomem-rng.h b/include/linux/timeriomem-rng.h
index dd253177f65..3e08a1c8683 100644
--- a/include/linux/timeriomem-rng.h
+++ b/include/linux/timeriomem-rng.h
@@ -14,7 +14,7 @@ struct timeriomem_rng_data {
struct completion completion;
unsigned int present:1;
- u32 __iomem *address;
+ void __iomem *address;
/* measures in usecs */
unsigned int period;