summaryrefslogtreecommitdiffstats
path: root/drivers/char/hw_random/n2rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/hw_random/n2rng.h')
-rw-r--r--drivers/char/hw_random/n2rng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/hw_random/n2rng.h b/drivers/char/hw_random/n2rng.h
index a2b81e7bfc18..4bea07f30978 100644
--- a/drivers/char/hw_random/n2rng.h
+++ b/drivers/char/hw_random/n2rng.h
@@ -65,7 +65,7 @@ struct n2rng_unit {
};
struct n2rng {
- struct of_device *op;
+ struct platform_device *op;
unsigned long flags;
#define N2RNG_FLAG_VF 0x00000001 /* Victoria Falls RNG, else N2 */