]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hwrng: timeriomem - Use phys address rather than virt
authorAlexander Clouter <alex@digriz.org.uk>
Fri, 27 Mar 2009 04:59:54 +0000 (12:59 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Mar 2009 04:59:54 +0000 (12:59 +0800)
commit3341323bb4c198f704cffbfdda37bcec1226ef7d
tree6fa9d807e9ccd3e6e0eb75cea990317dbd68fcf1
parentbe0ea69674ed95e1e98cb3687a241badc756d228
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>
drivers/char/hw_random/timeriomem-rng.c
include/linux/timeriomem-rng.h